From 6ceb7937bc34dc74b8924a205ed7e95b16c0b14c Mon Sep 17 00:00:00 2001 From: Tomas Kukosa Date: Mon, 3 Jul 2006 07:03:57 +0000 Subject: remove name field from per_sequence_t structure, it can be retrieved from field information svn path=/trunk/; revision=18637 --- asn1/h450/packet-h450-template.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'asn1/h450') diff --git a/asn1/h450/packet-h450-template.c b/asn1/h450/packet-h450-template.c index ca0eef2859..4c5604e79c 100644 --- a/asn1/h450/packet-h450-template.c +++ b/asn1/h450/packet-h450-template.c @@ -460,11 +460,11 @@ dissect_h4501_Opcode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tre } static const per_sequence_t result_sequence[] = { - { "opcode", &hf_h4501_opcode, ASN1_EXTENSION_ROOT, ASN1_NOT_OPTIONAL, + { &hf_h4501_opcode, ASN1_EXTENSION_ROOT, ASN1_NOT_OPTIONAL, dissect_h4501_Opcode }, - { "result", &hf_h4501_dummy, ASN1_EXTENSION_ROOT, ASN1_NOT_OPTIONAL, + { &hf_h4501_dummy, ASN1_EXTENSION_ROOT, ASN1_NOT_OPTIONAL, dissect_h4501_ReturnResult_result }, - { NULL, NULL, 0, 0, NULL } + { NULL, 0, 0, NULL } }; static int dissect_h4501_Result(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index) @@ -595,11 +595,11 @@ dissect_h4501_InvokeId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *t } static const per_sequence_t Reject_sequence[] = { - { "invokeID", &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_InvokeId }, - { "problem", &hf_h4501_problem, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_problem, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_Problem }, - { NULL, NULL, 0, 0, NULL } + { NULL, 0, 0, NULL } }; static int dissect_h4501_Reject(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index) @@ -609,13 +609,13 @@ dissect_h4501_Reject(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tre } static const per_sequence_t ReturnError_sequence[] = { - { "invokeID", &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_InvokeId }, - { "errorCode", &hf_h4501_errorCode, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_errorCode, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_ErrorCode }, - { "parameter", &hf_h4501_parameter, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, + { &hf_h4501_parameter, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, dissect_h4501_Parameter }, - { NULL, NULL, 0, 0, NULL } + { NULL, 0, 0, NULL } }; static int dissect_h4501_ReturnError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index) @@ -625,11 +625,11 @@ dissect_h4501_ReturnError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree } static const per_sequence_t ReturnResult_sequence[] = { - { "invokeID", &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_InvokeId }, - { "result", &hf_h4501_result, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, + { &hf_h4501_result, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, dissect_h4501_Result }, - { NULL, NULL, 0, 0, NULL } + { NULL, 0, 0, NULL } }; static int dissect_h4501_ReturnResult(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index) @@ -639,15 +639,15 @@ dissect_h4501_ReturnResult(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tre } static const per_sequence_t Invoke_sequence[] = { - { "invokeID", &hf_h4501_constrained_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_constrained_invokeId, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_Constrained_invokeId }, - { "linkedId", &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, + { &hf_h4501_invokeId, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, dissect_h4501_InvokeId }, - { "opcode", &hf_h4501_opcode, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, + { &hf_h4501_opcode, ASN1_NO_EXTENSIONS, ASN1_NOT_OPTIONAL, dissect_h4501_Opcode }, - { "argument", &hf_h4501_dummy, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, + { &hf_h4501_dummy, ASN1_NO_EXTENSIONS, ASN1_OPTIONAL, dissect_h4501_Argument }, - { NULL, NULL, 0, 0, NULL } + { NULL, 0, 0, NULL } }; static int dissect_h4501_Invoke(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index) -- cgit v1.2.3