aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-06-07 05:49:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-06-07 05:49:06 +0000
commit86a56ba7cccfa5fec459904a57fcd7807cd8ef49 (patch)
tree35b9d1e26d85804314854f73fa1ad0ba15d32179 /epan/dissectors/packet-ber.h
parent75ab9e7ad2438f5f7022a742807cbb48fd81bc21 (diff)
From Tim Endean:
- I have had to make some changes to packet-ber to allow for PRIVATE and APPLICATION tags. - Both ANSI and ITU variants supported without configuration. - Asn.1 dissectors can now register using an OID value as well as an SSN, the oid it tried first. svn path=/trunk/; revision=14572
Diffstat (limited to 'epan/dissectors/packet-ber.h')
-rw-r--r--epan/dissectors/packet-ber.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h
index 70938f01b7..4e60881ce1 100644
--- a/epan/dissectors/packet-ber.h
+++ b/epan/dissectors/packet-ber.h
@@ -80,7 +80,7 @@ typedef int (*ber_callback)(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb,
*/
extern int get_ber_identifier(tvbuff_t *tvb, int offset, gint8 *class, gboolean *pc, gint32 *tag);
extern int dissect_ber_identifier(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint8 *class, gboolean *pc, gint32 *tag);
-
+extern int dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, int offset, proto_tree *tree);
/* this function dissects the identifier octer of the BER TLV.
* We only handle (TAGs and) LENGTHs that fit inside 32 bit integers.
*/
@@ -164,6 +164,7 @@ extern proto_item *ber_last_created_item;
extern proto_item *get_ber_last_created_item(void);
int call_ber_oid_callback(char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
+void register_ber_oid_dissector_handle(char *oid, dissector_handle_t dissector, int proto, char *name);
void register_ber_oid_dissector(char *oid, dissector_t dissector, int proto, char *name);
void register_ber_oid_name(char *oid, char *name);
void dissect_ber_oid_NULL_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);