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 "ObjectSyntax.h"
12 static asn_TYPE_member_t asn_MBR_ObjectSyntax_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.simple),
14 -1 /* Ambiguous tag (CHOICE?) */,
16 &asn_DEF_SimpleSyntax,
17 0, /* Defer constraints checking to the member type */
18 0, /* PER is not compiled, use -gen-PER */
22 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.application_wide),
23 -1 /* Ambiguous tag (CHOICE?) */,
25 &asn_DEF_ApplicationSyntax,
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
32 static asn_TYPE_tag2member_t asn_MAP_ObjectSyntax_tag2el_1[] = {
33 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* number at 73 */
34 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* string at 76 */
35 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 0, 0, 0 }, /* empty at 82 */
36 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* object at 79 */
37 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* internet at 113 */
38 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter at 91 */
39 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 1, 0, 0 }, /* gauge at 94 */
40 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 1, 0, 0 }, /* ticks at 97 */
41 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 1, 0, 0 } /* arbitrary at 104 */
43 static asn_CHOICE_specifics_t asn_SPC_ObjectSyntax_specs_1 = {
44 sizeof(struct ObjectSyntax),
45 offsetof(struct ObjectSyntax, _asn_ctx),
46 offsetof(struct ObjectSyntax, present),
47 sizeof(((struct ObjectSyntax *)0)->present),
48 asn_MAP_ObjectSyntax_tag2el_1,
49 9, /* Count of tags in the map */
51 -1 /* Extensions start */
53 asn_TYPE_descriptor_t asn_DEF_ObjectSyntax = {
63 0, 0, /* No PER support, use "-gen-PER" to enable */
65 0, /* No effective tags (pointer) */
66 0, /* No effective tags (count) */
67 0, /* No tags (pointer) */
68 0, /* No tags (count) */
69 0, /* No PER visible constraints */
70 asn_MBR_ObjectSyntax_1,
71 2, /* Elements count */
72 &asn_SPC_ObjectSyntax_specs_1 /* Additional specs */