diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-20 09:11:40 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-07-20 09:11:40 +0000 |
commit | 723d3dbe44c0d14ef0849195c662211aaa98fdb8 (patch) | |
tree | 0837b1c968637c9b65a5a26b6b11228ed92528da /epan/dissectors/packet-ber.h | |
parent | d23af58fd6f1783974bd22421fae2af871328770 (diff) |
Add the new protocols CMS, X509AF, X509IF, X509CE and X509SAT
to the ethereal build.
The dissections are semi-useful but incomplete.
The big problem still remaining is the x509if Name object not being
dissected properly thus causing the dissection to get out of sync/fail
halfway through the certificate structure.
work in progress but already semi-useful.
svn path=/trunk/; revision=11440
Diffstat (limited to 'epan/dissectors/packet-ber.h')
-rw-r--r-- | epan/dissectors/packet-ber.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h index 5d00016602..e8230b1ded 100644 --- a/epan/dissectors/packet-ber.h +++ b/epan/dissectors/packet-ber.h @@ -158,4 +158,10 @@ 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); + #endif /* __PACKET_BER_H__ */ |