diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-05-22 11:49:50 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-05-22 11:49:50 +0000 |
commit | fbd2a3fe3e6829304daba4ada278246f343e5f4b (patch) | |
tree | d9fe17598a0585424c3b54245fdde78750e764b8 /epan/dissectors/packet-h245.h | |
parent | 18ffc28bb1811b808c853ac2f649e5b1e3ba8306 (diff) |
- fix bugs in dissect_per_octet_string() introduced with unaligned variant
- step to new ASN.1 API - pass asn_ctx_t* through PER dissectors instead of packet_info*
- PER ALIGNED/UNALIGNED flag moved to asn_ctx_t
- PER created tree item pointer moved to asn_ctx_t
- add nbap into PER dissectors in asn1/Makefile.nmake
- use add_oid_str_name() instead of register_ber_oid_name() in H.225 and H.245
- export asn_ctx_init from library
- PER dissectors regenerated
svn path=/trunk/; revision=18209
Diffstat (limited to 'epan/dissectors/packet-h245.h')
-rw-r--r-- | epan/dissectors/packet-h245.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/epan/dissectors/packet-h245.h b/epan/dissectors/packet-h245.h index 13e40612f2..7c4a398ffb 100644 --- a/epan/dissectors/packet-h245.h +++ b/epan/dissectors/packet-h245.h @@ -1,7 +1,7 @@ /* Do not modify this file. */ -/* It is created automatically by the ASN.1 to Wireshark dissector compiler */ +/* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* .\packet-h245.h */ -/* ../../tools/asn2eth.py -X -e -p h245 -c h245.cnf -s packet-h245-template h245.asn */ +/* ../../tools/asn2wrs.py -e -p h245 -c h245.cnf -s packet-h245-template h245.asn */ /* Input file: packet-h245-template.h */ @@ -121,6 +121,8 @@ struct _h223_mux_element { }; #include <epan/packet_info.h> +#include "packet-per.h" + typedef void (*h223_set_mc_handle_t) ( packet_info* pinfo, guint8 mc, h223_mux_element* me ); extern void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle ); @@ -131,12 +133,12 @@ extern void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle ); /*--- Included file: packet-h245-exp.h ---*/ #line 1 "packet-h245-exp.h" extern const value_string DataProtocolCapability_vals[]; -int dissect_h245_DataProtocolCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index); -int dissect_h245_T38FaxProfile(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index); -int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index); +int dissect_h245_DataProtocolCapability(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index); +int dissect_h245_T38FaxProfile(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index); +int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_index); /*--- End of included file: packet-h245-exp.h ---*/ -#line 123 "packet-h245-template.h" +#line 125 "packet-h245-template.h" void dissect_h245_OpenLogicalChannelCodec(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str); |