aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_module.h
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-09-17 04:52:50 +0000
committerLev Walkin <vlm@lionet.info>2006-09-17 04:52:50 +0000
commita9532f4d2bad200422ffacae45342c73f7cb40cb (patch)
tree07a38fc49e3ffb8293361d4e3347c89e9b94766b /libasn1parser/asn1p_module.h
parentcc7c94efce47bc02ce5bd60a93f25d32b1b23b50 (diff)
moved -DASN_PDU_COLLECTION into compiler
Diffstat (limited to 'libasn1parser/asn1p_module.h')
-rw-r--r--libasn1parser/asn1p_module.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/libasn1parser/asn1p_module.h b/libasn1parser/asn1p_module.h
index ad9eab04..25dcf1e7 100644
--- a/libasn1parser/asn1p_module.h
+++ b/libasn1parser/asn1p_module.h
@@ -4,6 +4,18 @@
#ifndef ASN1_PARSER_MODULE_H
#define ASN1_PARSER_MODULE_H
+struct asn1p_module_s;
+
+/*
+ * A simple container for several modules.
+ */
+typedef struct asn1p_s {
+ TQ_HEAD(struct asn1p_module_s) modules;
+} asn1p_t;
+
+asn1p_t *asn1p_new(void);
+void asn1p_delete(asn1p_t *asn);
+
/*
* Flags specific to a module.
*/
@@ -71,6 +83,9 @@ typedef struct asn1p_module_s {
TQ_ENTRY(struct asn1p_module_s)
mod_next;
+ /* All modules */
+ asn1p_t *asn1p;
+
/*
* Internally useful properties.
*/
@@ -85,15 +100,4 @@ typedef struct asn1p_module_s {
asn1p_module_t *asn1p_module_new(void);
void asn1p_module_free(asn1p_module_t *mod);
-/*
- * No more than a container for several modules.
- */
-typedef struct asn1p_s {
- TQ_HEAD(struct asn1p_module_s) modules;
-} asn1p_t;
-
-asn1p_t *asn1p_new(void);
-void asn1p_delete(asn1p_t *asn);
-
-
#endif /* ASN1_PARSER_MODULE_H */