2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1155-SMI"
4 * found in "RFC1155-SMI.asn1"
5 * `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
8 #include "SimpleSyntax.h"
10 static asn_TYPE_member_t asn_MBR_SimpleSyntax_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.number),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.string),
21 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
23 &asn_DEF_OCTET_STRING,
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
29 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.object),
30 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
32 &asn_DEF_OBJECT_IDENTIFIER,
33 0, /* Defer constraints checking to the member type */
34 0, /* PER is not compiled, use -gen-PER */
38 { ATF_NOFLAGS, 0, offsetof(struct SimpleSyntax, choice.empty),
39 (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
42 0, /* Defer constraints checking to the member type */
43 0, /* PER is not compiled, use -gen-PER */
48 static const asn_TYPE_tag2member_t asn_MAP_SimpleSyntax_tag2el_1[] = {
49 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* number */
50 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* string */
51 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 3, 0, 0 }, /* empty */
52 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 2, 0, 0 } /* object */
54 static asn_CHOICE_specifics_t asn_SPC_SimpleSyntax_specs_1 = {
55 sizeof(struct SimpleSyntax),
56 offsetof(struct SimpleSyntax, _asn_ctx),
57 offsetof(struct SimpleSyntax, present),
58 sizeof(((struct SimpleSyntax *)0)->present),
59 asn_MAP_SimpleSyntax_tag2el_1,
60 4, /* Count of tags in the map */
62 -1 /* Extensions start */
64 asn_TYPE_descriptor_t asn_DEF_SimpleSyntax = {
74 0, 0, /* No PER support, use "-gen-PER" to enable */
76 0, /* No effective tags (pointer) */
77 0, /* No effective tags (count) */
78 0, /* No tags (pointer) */
79 0, /* No tags (count) */
80 0, /* No PER visible constraints */
81 asn_MBR_SimpleSyntax_1,
82 4, /* Elements count */
83 &asn_SPC_SimpleSyntax_specs_1 /* Additional specs */