2 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1155-SMI"
4 * found in "RFC1155-SMI.asn1"
5 * `asn1c -fskeletons-copy`
8 #include <asn_internal.h>
10 #include "SimpleSyntax.h"
12 static asn_TYPE_member_t asn_MBR_SimpleSyntax_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.number),
14 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, /* Defer constraints checking to the member type */
18 0, /* PER is not compiled, use -gen-PER */
22 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.string),
23 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
25 &asn_DEF_OCTET_STRING,
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
31 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.object),
32 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
34 &asn_DEF_OBJECT_IDENTIFIER,
35 0, /* Defer constraints checking to the member type */
36 0, /* PER is not compiled, use -gen-PER */
40 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.empty),
41 (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
44 0, /* Defer constraints checking to the member type */
45 0, /* PER is not compiled, use -gen-PER */
50 static asn_TYPE_tag2member_t asn_MAP_SimpleSyntax_tag2el_1[] = {
51 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* number at 73 */
52 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* string at 76 */
53 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 3, 0, 0 }, /* empty at 82 */
54 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 2, 0, 0 } /* object at 79 */
56 static asn_CHOICE_specifics_t asn_SPC_SimpleSyntax_specs_1 = {
57 sizeof(struct SimpleSyntax),
58 offsetof(struct SimpleSyntax, _asn_ctx),
59 offsetof(struct SimpleSyntax, present),
60 sizeof(((struct SimpleSyntax *)0)->present),
61 asn_MAP_SimpleSyntax_tag2el_1,
62 4, /* Count of tags in the map */
64 -1 /* Extensions start */
66 asn_TYPE_descriptor_t asn_DEF_SimpleSyntax = {
76 0, 0, /* No PER support, use "-gen-PER" to enable */
78 0, /* No effective tags (pointer) */
79 0, /* No effective tags (count) */
80 0, /* No tags (pointer) */
81 0, /* No tags (count) */
82 0, /* No PER visible constraints */
83 asn_MBR_SimpleSyntax_1,
84 4, /* Elements count */
85 &asn_SPC_SimpleSyntax_specs_1 /* Additional specs */