2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "SMUX"
5 * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
8 #include "SimpleOpen.h"
10 asn_TYPE_member_t asn_MBR_SimpleOpen_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, version),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, 0, /* No default value */
20 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, identity),
21 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
23 &asn_DEF_OBJECT_IDENTIFIER,
26 0, 0, /* No default value */
29 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, description),
30 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
32 &asn_DEF_DisplayString,
35 0, 0, /* No default value */
38 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, password),
39 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
41 &asn_DEF_OCTET_STRING,
44 0, 0, /* No default value */
48 static const ber_tlv_tag_t asn_DEF_SimpleOpen_tags_1[] = {
49 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
50 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 static const asn_TYPE_tag2member_t asn_MAP_SimpleOpen_tag2el_1[] = {
53 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* version */
54 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 1 }, /* description */
55 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, -1, 0 }, /* password */
56 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 } /* identity */
58 asn_SEQUENCE_specifics_t asn_SPC_SimpleOpen_specs_1 = {
59 sizeof(struct SimpleOpen),
60 offsetof(struct SimpleOpen, _asn_ctx),
61 asn_MAP_SimpleOpen_tag2el_1,
62 4, /* Count of tags in the map */
63 0, 0, 0, /* Optional elements (not needed) */
64 -1, /* First extension addition */
66 asn_TYPE_descriptor_t asn_DEF_SimpleOpen = {
70 asn_DEF_SimpleOpen_tags_1,
71 sizeof(asn_DEF_SimpleOpen_tags_1)
72 /sizeof(asn_DEF_SimpleOpen_tags_1[0]) - 1, /* 1 */
73 asn_DEF_SimpleOpen_tags_1, /* Same as above */
74 sizeof(asn_DEF_SimpleOpen_tags_1)
75 /sizeof(asn_DEF_SimpleOpen_tags_1[0]), /* 2 */
76 { 0, 0, SEQUENCE_constraint },
78 4, /* Elements count */
79 &asn_SPC_SimpleOpen_specs_1 /* Additional specs */