diff options
author | Anders Broman <anders.broman@ericsson.com> | 2007-05-06 22:34:05 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2007-05-06 22:34:05 +0000 |
commit | 4c692a62b6a0851f8c96dbb3abe73a5e019f7b3e (patch) | |
tree | fb70b87f27909b5615ccfb0512abc1ff67a04148 /asn1/inap | |
parent | 1103a38976ef39ce9461867c65cc998eb36423fa (diff) | |
download | wireshark-4c692a62b6a0851f8c96dbb3abe73a5e019f7b3e.tar.gz wireshark-4c692a62b6a0851f8c96dbb3abe73a5e019f7b3e.tar.bz2 wireshark-4c692a62b6a0851f8c96dbb3abe73a5e019f7b3e.zip |
Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
Diffstat (limited to 'asn1/inap')
-rw-r--r-- | asn1/inap/packet-inap-template.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c index 4203111223..88fa2766c8 100644 --- a/asn1/inap/packet-inap-template.c +++ b/asn1/inap/packet-inap-template.c @@ -81,7 +81,7 @@ static gint ett_inap_INAPPDU = -1; static gint ett_inapisup_parameter = -1; #include "packet-inap-ett.c" -static int dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset); +static int dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_); #include "packet-inap-fn.c" @@ -221,7 +221,7 @@ TC-Invokable OPERATION ::= promptAndCollectUserInformation} */ -static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { switch(opcode){ case 0: /*InitialDP*/ offset=dissect_inap_InitialDP(FALSE, tvb, offset, pinfo, tree, hf_inap_InitialDP_PDU); @@ -394,7 +394,7 @@ TC-Returnable OPERATION ::= promptAndCollectUserInformation - RESULT ReceivedInformationArg */ -static int dissect_returnResultData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_returnResultData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { switch(opcode){ case 37: /*requestCurrentStatusReport*/ offset=dissect_inap_RequestCurrentStatusReportResultArg(FALSE, tvb, offset, pinfo, tree, -1); @@ -409,17 +409,17 @@ static int dissect_returnResultData(packet_info *pinfo, proto_tree *tree, tvbuff } static int -dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_Opcode(FALSE, tvb, offset, pinfo, tree, hf_inap_invokeCmd); } static int -dissect_errorCode(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +dissect_errorCode(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_errorCode(FALSE, tvb, offset, pinfo, tree, hf_inap_ReturnError); } -static int dissect_invokeid(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_invokeid(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_ber_integer(FALSE, pinfo, tree, tvb, offset, hf_inap_invokeid, NULL); } @@ -430,7 +430,7 @@ static const value_string InvokeId_vals[] = { { 0, NULL } }; -static int dissect_absent(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_absent(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_NULL(FALSE, tvb, offset, pinfo, tree, hf_inap_absent); } @@ -448,10 +448,10 @@ dissect_inap_InvokeId(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pack return offset; } -static int dissect_invokeId(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_invokeId(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_InvokeId(FALSE, tvb, offset, pinfo, tree, hf_inap_invokeId); } -static int dissect_linkedID_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_linkedID_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_inap_linkedid, NULL); } @@ -488,11 +488,11 @@ dissect_inap_returnErrorPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset } -static int dissect_invoke_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_invoke_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_InvokePDU(TRUE, tvb, offset, pinfo, tree, hf_inap_invoke); } -static int dissect_returnError_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_returnError_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_returnErrorPDU(TRUE, tvb, offset, pinfo, tree, hf_inap_invoke); } @@ -502,7 +502,7 @@ static const ber_sequence_t ReturnResult_result_sequence[] = { { 0, 0, 0, NULL } }; static int -dissect_returnResult_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +dissect_returnResult_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { offset = dissect_ber_sequence(FALSE, pinfo, tree, tvb, offset, ReturnResult_result_sequence, hf_inap_returnResult_result, ett_inap_ReturnResult_result); @@ -522,12 +522,12 @@ dissect_inap_returnResultPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offse return offset; } -static int dissect_returnResult_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_returnResult_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_returnResultPDU(TRUE, tvb, offset, pinfo, tree, hf_inap_returnResult); } -static int dissect_reject_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { +static int dissect_reject_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) { return dissect_inap_RejectPDU(TRUE, tvb, offset, pinfo, tree, -1); } |