]> git.stg.codes - stg.git/blob - libs/smux/SimpleOpen.c
Add an option to opt-out Firebird store.
[stg.git] / libs / smux / SimpleOpen.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "SMUX"
4  *      found in "SMUX.asn1"
5  *      `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
6  */
7
8 #include "SimpleOpen.h"
9
10 asn_TYPE_member_t asn_MBR_SimpleOpen_1[] = {
11         { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, version),
12                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
13                 0,
14                 &asn_DEF_INTEGER,
15                 0,
16                 { 0, 0, 0 },
17                 0, 0, /* No default value */
18                 "version"
19                 },
20         { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, identity),
21                 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
22                 0,
23                 &asn_DEF_OBJECT_IDENTIFIER,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "identity"
28                 },
29         { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, description),
30                 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
31                 0,
32                 &asn_DEF_DisplayString,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "description"
37                 },
38         { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, password),
39                 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
40                 0,
41                 &asn_DEF_OCTET_STRING,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "password"
46                 },
47 };
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))
51 };
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 */
57 };
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 */
65 };
66 asn_TYPE_descriptor_t asn_DEF_SimpleOpen = {
67         "SimpleOpen",
68         "SimpleOpen",
69         &asn_OP_SEQUENCE,
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 },
77         asn_MBR_SimpleOpen_1,
78         4,      /* Elements count */
79         &asn_SPC_SimpleOpen_specs_1     /* Additional specs */
80 };
81