aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_module.h
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:52:50 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:52:50 +0000
commit43c8ac5bf208aee1b363408bbeda02de8381aaa3 (patch)
tree07a38fc49e3ffb8293361d4e3347c89e9b94766b /libasn1parser/asn1p_module.h
parent70c232de00d5332a85c91d29ccc4e8af045d8b83 (diff)
moved -DASN_PDU_COLLECTION into compiler
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1200 59561ff5-6e30-0410-9f3c-9617f08c8826
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 */