diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-01 22:05:11 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-01 22:05:11 +0000 |
commit | b77cf64d9efaf719a54b15d9502c5575bf056407 (patch) | |
tree | 5bef9b4ab380f93035ddf293d1f1afe92695c153 /epan/dissectors/packet-nbap.c | |
parent | c446d72cbee8e1603dfeb319a3953336baf0fd15 (diff) |
Split out common asn1 stuff to asn1.h and include that where needed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21635 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbap.c')
-rw-r--r-- | epan/dissectors/packet-nbap.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c index 824b05382b..09965c9488 100644 --- a/epan/dissectors/packet-nbap.c +++ b/epan/dissectors/packet-nbap.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ -/* ./packet-nbap.c */ +/* .\packet-nbap.c */ /* ../../tools/asn2wrs.py -e -F -p nbap -c nbap.cnf -s packet-nbap-template nbap.asn */ /* Input file: packet-nbap-template.c */ @@ -44,6 +44,8 @@ #include <stdio.h> #include <string.h> +#include <epan/asn1.h> + #include "packet-nbap.h" #include "packet-ber.h" #include "packet-per.h" @@ -2068,7 +2070,7 @@ static int hf_nbap_RACH_SubChannelNumbers_subCh1 = -1; static int hf_nbap_RACH_SubChannelNumbers_subCh0 = -1; /*--- End of included file: packet-nbap-hf.c ---*/ -#line 58 "packet-nbap-template.c" +#line 60 "packet-nbap-template.c" /* Initialize the subtree pointers */ static int ett_nbap = -1; @@ -3088,7 +3090,7 @@ static gint ett_nbap_PrivateIE_Container = -1; static gint ett_nbap_PrivateIE_Field = -1; /*--- End of included file: packet-nbap-ett.c ---*/ -#line 67 "packet-nbap-template.c" +#line 69 "packet-nbap-template.c" /* Global variables */ static proto_tree *top_tree; @@ -34570,7 +34572,7 @@ static void dissect_NBAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot /*--- End of included file: packet-nbap-fn.c ---*/ -#line 738 "packet-nbap-template.c" +#line 740 "packet-nbap-template.c" static int dissect_nbap_InitiatingMessageValueValue(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree){ @@ -44761,7 +44763,7 @@ void proto_register_nbap(void) { "", HFILL }}, /*--- End of included file: packet-nbap-hfarr.c ---*/ -#line 2924 "packet-nbap-template.c" +#line 2926 "packet-nbap-template.c" }; /* List of subtrees */ @@ -45782,7 +45784,7 @@ void proto_register_nbap(void) { &ett_nbap_PrivateIE_Field, /*--- End of included file: packet-nbap-ettarr.c ---*/ -#line 2934 "packet-nbap-template.c" +#line 2936 "packet-nbap-template.c" }; |