summaryrefslogtreecommitdiff
path: root/asn1/dop/dop.cnf
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-05 18:47:26 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-05 18:47:26 +0000
commitb6b78d69dbae80ea0a0efc39400e3e88d5f9e337 (patch)
tree3b236e73ee8f1d83c07ecc5ab7a67af8bb19cc85 /asn1/dop/dop.cnf
parent389423aaaac460f5b0fcbaf37b4f3d5cd7941c5b (diff)
downloadwireshark-b6b78d69dbae80ea0a0efc39400e3e88d5f9e337.tar.gz
In an effort to reduce the use of pinfo->private_data (and some true global variables), I converted the ASN.1 dissectors that use pinfo->private_data to exchange a SESSION_DATA_STRUCTURE to instead only exchange it in the context of ASN.1. This meant converting dissectors to the "new" style to pass the SESSION_DATA_STRUCTURE as well as providing a pointer to it in asn1_ctx_t.private_data. Yes, it's still "private data", but it's not used by all dissectors like pinfo->private data is.
svn path=/trunk/; revision=53090
Diffstat (limited to 'asn1/dop/dop.cnf')
-rw-r--r--asn1/dop/dop.cnf32
1 files changed, 16 insertions, 16 deletions
diff --git a/asn1/dop/dop.cnf b/asn1/dop/dop.cnf
index bb6f148ae5..d1f90318ea 100644
--- a/asn1/dop/dop.cnf
+++ b/asn1/dop/dop.cnf
@@ -107,67 +107,67 @@ OpBindingErrorParam/bindingType BindingType
#.FN_BODY EstablishOperationalBindingArgumentData/initiator/symmetric
- offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
+ offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric", actx->private_data);
#.FN_BODY EstablishOperationalBindingArgumentData/initiator/roleA-initiates
- offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA");
+ offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA", actx->private_data);
#.FN_BODY EstablishOperationalBindingArgumentData/initiator/roleB-initiates
- offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB");
+ offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB", actx->private_data);
#.FN_BODY ModifyOperationalBindingArgumentData/initiator/symmetric
- offset = call_dop_oid_callback("modify.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
+ offset = call_dop_oid_callback("modify.symmetric", tvb, offset, actx->pinfo, tree, "symmetric", actx->private_data);
#.FN_BODY ModifyOperationalBindingArgumentData/initiator/roleA-initiates
- offset = call_dop_oid_callback("modify.rolea", tvb, offset, actx->pinfo, tree, "roleA");
+ offset = call_dop_oid_callback("modify.rolea", tvb, offset, actx->pinfo, tree, "roleA", actx->private_data);
#.FN_BODY ModifyOperationalBindingArgumentData/initiator/roleB-initiates
- offset = call_dop_oid_callback("modify.roleb", tvb, offset, actx->pinfo, tree, "roleB");
+ offset = call_dop_oid_callback("modify.roleb", tvb, offset, actx->pinfo, tree, "roleB", actx->private_data);
#.FN_BODY TerminateOperationalBindingArgumentData/initiator/symmetric
- offset = call_dop_oid_callback("terminate.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
+ offset = call_dop_oid_callback("terminate.symmetric", tvb, offset, actx->pinfo, tree, "symmetric", actx->private_data);
#.FN_BODY TerminateOperationalBindingArgumentData/initiator/roleA-initiates
- offset = call_dop_oid_callback("terminate.rolea", tvb, offset, actx->pinfo, tree, "roleA");
+ offset = call_dop_oid_callback("terminate.rolea", tvb, offset, actx->pinfo, tree, "roleA", actx->private_data);
#.FN_BODY TerminateOperationalBindingArgumentData/initiator/roleB-initiates
- offset = call_dop_oid_callback("terminate.roleb", tvb, offset, actx->pinfo, tree, "roleB");
+ offset = call_dop_oid_callback("terminate.roleb", tvb, offset, actx->pinfo, tree, "roleB", actx->private_data);
#.FN_BODY EstablishOperationalBindingArgumentData/agreement
- offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
+ offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL, actx->private_data);
#.FN_BODY EstablishOperationalBindingResult/initiator/symmetric
- offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
+ offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric", actx->private_data);
#.FN_BODY EstablishOperationalBindingResult/initiator/roleA-replies
- offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA");
+ offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA", actx->private_data);
#.FN_BODY EstablishOperationalBindingResult/initiator/roleB-replies
- offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB");
+ offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB", actx->private_data);
#.FN_BODY OpBindingErrorParam/agreementProposal
- offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
+ offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL, actx->private_data);
#.FN_BODY ModifyOperationalBindingResultData/newAgreement
- offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
+ offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL, actx->private_data);
#.FN_BODY ModifyOperationalBindingArgumentData/newAgreement
- offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
+ offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL, actx->private_data);
#.FN_BODY OperationalBindingID/identifier VAL_PTR = &value