tag2member
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@14 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET.h b/skeletons/constr_SET.h
index c0ac07f..8cb3fa8 100644
--- a/skeletons/constr_SET.h
+++ b/skeletons/constr_SET.h
@@ -15,19 +15,10 @@
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_SET_element_t;
-/*
- * Map between the outmost tag of the element and the corresponding
- * element's index.
- */
-typedef struct asn1_SET_tag2member_s {
- ber_tlv_tag_t el_tag; /* Outmost tag of the member */
- int el_no; /* Index of the associated member, base 0 */
-} asn1_SET_tag2member_t;
typedef struct asn1_SET_specifics_s {
/*
@@ -46,7 +37,7 @@
/*
* Tags to members mapping table (sorted).
*/
- asn1_SET_tag2member_t *tag2el;
+ asn1_TYPE_tag2member_t *tag2el;
int tag2el_count;
/*