diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-21 11:13:03 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-21 11:13:03 +0000 |
commit | dcea6b49c6749f6a0027031db01c4fc8809c576b (patch) | |
tree | 6599ca95bba5338a34de54b9e51b3dc12b8218f5 /epan/dissectors/packet-ber.h | |
parent | 9bbc41e5011834b275cf604d5b306320ee584d9b (diff) | |
download | wireshark-dcea6b49c6749f6a0027031db01c4fc8809c576b.tar.gz |
get rid of the nasty ber specific oid->callback table and reimplement the functionality using a dissector table instead i.e. the proper way.
svn path=/trunk/; revision=11457
Diffstat (limited to 'epan/dissectors/packet-ber.h')
-rw-r--r-- | epan/dissectors/packet-ber.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h index 872d9f9e96..f10f33cd94 100644 --- a/epan/dissectors/packet-ber.h +++ b/epan/dissectors/packet-ber.h @@ -158,10 +158,6 @@ extern int dissect_ber_bitstring32(gboolean implicit_tag, packet_info *pinfo, pr extern proto_item *ber_last_created_item; extern proto_item *get_ber_last_created_item(void); - -typedef int (*ber_oid_callback)(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); - -void register_ber_oid_callback(char *oid, ber_oid_callback func); -int invoke_ber_oid_callback(char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +int call_ber_oid_callback(char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); #endif /* __PACKET_BER_H__ */ |