aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libasn1parser/asn1p_expr.h')
-rw-r--r--libasn1parser/asn1p_expr.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/libasn1parser/asn1p_expr.h b/libasn1parser/asn1p_expr.h
index 461f42da..2c284ff0 100644
--- a/libasn1parser/asn1p_expr.h
+++ b/libasn1parser/asn1p_expr.h
@@ -173,19 +173,20 @@ typedef struct asn1p_expr_s {
asn1_integer_t tag_value;
} tag;
- /*
- * Whether automatic tagging is applicable for subtypes.
- */
- int auto_tags_OK;
-
enum asn1p_expr_marker_e {
EM_NOMARK,
- EM_OPTIONAL,
- EM_DEFAULT, /* FIXME: store the value somewhere. */
+ EM_INDIRECT = 0x01, /* 0001: Represent as pointer */
+ EM_OPTIONAL = 0x03, /* 0011: Optional member */
+ EM_DEFAULT = 0x07, /* 0111: FIXME: store the value */
} marker;
int unique; /* UNIQUE */
/*
+ * Whether automatic tagging is applicable for subtypes.
+ */
+ int auto_tags_OK;
+
+ /*
* Members of the constructed type.
*/
TQ_HEAD(struct asn1p_expr_s) members;