aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/constr_CHOICE.h
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-06-06 07:20:02 +0000
committerLev Walkin <vlm@lionet.info>2004-06-06 07:20:02 +0000
commit4c36e308bbc8e4132a67ecc184e56afed183cb58 (patch)
tree044299c80b700ee7f4d1a07fbd5bc40a45f9393f /skeletons/constr_CHOICE.h
parent409c44e09f99a273fdab1381083133bdc1812df0 (diff)
tag2member
Diffstat (limited to 'skeletons/constr_CHOICE.h')
-rw-r--r--skeletons/constr_CHOICE.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/skeletons/constr_CHOICE.h b/skeletons/constr_CHOICE.h
index 70766e9d..1308bd4a 100644
--- a/skeletons/constr_CHOICE.h
+++ b/skeletons/constr_CHOICE.h
@@ -15,16 +15,10 @@ typedef struct asn1_CHOICE_element_s {
int optional; /* Whether the element is optional */
ber_tlv_tag_t tag; /* Outmost (most immediate) tag */
int tag_mode; /* IMPLICIT/no/EXPLICIT tag at current level */
- asn1_TYPE_descriptor_t
- *type; /* Member type descriptor */
+ asn1_TYPE_descriptor_t *type; /* Member type descriptor */
char *name; /* ASN.1 identifier of the element */
} asn1_CHOICE_element_t;
-typedef struct asn1_CHOICE_tag2member_s {
- ber_tlv_tag_t el_tag; /* Outmost tag of the member */
- int el_no; /* Index of the associated member, base 0 */
-} asn1_CHOICE_tag2member_t;
-
typedef struct asn1_CHOICE_specifics_s {
/*
* Target structure description.
@@ -43,7 +37,7 @@ typedef struct asn1_CHOICE_specifics_s {
/*
* Tags to members mapping table.
*/
- asn1_CHOICE_tag2member_t *tag2el;
+ asn1_TYPE_tag2member_t *tag2el;
int tag2el_count;
/*