aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-05-01 22:05:11 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-05-01 22:05:11 +0000
commit1cf1f16391a327b1a74045c60c492c39ab7569f0 (patch)
tree5bef9b4ab380f93035ddf293d1f1afe92695c153 /epan/dissectors/packet-per.h
parent8a2810c15a808a37a63ad5162cfbd5af2d38b461 (diff)
Split out common asn1 stuff to asn1.h and include that where needed.
svn path=/trunk/; revision=21635
Diffstat (limited to 'epan/dissectors/packet-per.h')
-rw-r--r--epan/dissectors/packet-per.h18
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);