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-per.h | |
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-per.h')
-rw-r--r-- | epan/dissectors/packet-per.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h index c373989e44..49f0de353b 100644 --- a/epan/dissectors/packet-per.h +++ b/epan/dissectors/packet-per.h @@ -26,23 +26,7 @@ #ifndef __PACKET_PER_H__ #define __PACKET_PER_H__ -/*--- ASN.1 Context, will be moved to common ASN.1 header when created --- */ - -typedef enum { - ASN1_ENC_BER, /* X.690 - BER, CER, DER */ - ASN1_ENC_PER, /* X.691 - PER */ - ASN1_ENC_ECN, /* X.692 - ECN */ - ASN1_ENC_XER /* X.693 - XER */ -} asn1_enc_e; - -typedef struct _asn1_ctx_t { - asn1_enc_e encoding; - gboolean aligned; - packet_info *pinfo; - proto_item *created_item; - void *value_ptr; - void *private_data; -} asn1_ctx_t; + void asn1_ctx_init(asn1_ctx_t *actx, asn1_enc_e encoding, gboolean aligned, packet_info *pinfo); |