2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1155-SMI"
4 * found in "RFC1155-SMI.asn1"
5 * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
8 #include "ObjectSyntax.h"
10 static asn_oer_constraints_t asn_OER_type_ObjectSyntax_constr_1 CC_NOTUSED = {
13 asn_per_constraints_t asn_PER_type_ObjectSyntax_constr_1 CC_NOTUSED = {
14 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 asn_TYPE_member_t asn_MBR_ObjectSyntax_1[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.simple),
20 -1 /* Ambiguous tag (CHOICE?) */,
22 &asn_DEF_SimpleSyntax,
25 0, 0, /* No default value */
28 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.application_wide),
29 -1 /* Ambiguous tag (CHOICE?) */,
31 &asn_DEF_ApplicationSyntax,
34 0, 0, /* No default value */
38 static const asn_TYPE_tag2member_t asn_MAP_ObjectSyntax_tag2el_1[] = {
39 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* number */
40 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* string */
41 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 0, 0, 0 }, /* empty */
42 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* object */
43 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* internet */
44 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter */
45 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 1, 0, 0 }, /* gauge */
46 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 1, 0, 0 }, /* ticks */
47 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 1, 0, 0 } /* arbitrary */
49 asn_CHOICE_specifics_t asn_SPC_ObjectSyntax_specs_1 = {
50 sizeof(struct ObjectSyntax),
51 offsetof(struct ObjectSyntax, _asn_ctx),
52 offsetof(struct ObjectSyntax, present),
53 sizeof(((struct ObjectSyntax *)0)->present),
54 asn_MAP_ObjectSyntax_tag2el_1,
55 9, /* Count of tags in the map */
57 -1 /* Extensions start */
59 asn_TYPE_descriptor_t asn_DEF_ObjectSyntax = {
63 0, /* No effective tags (pointer) */
64 0, /* No effective tags (count) */
65 0, /* No tags (pointer) */
66 0, /* No tags (count) */
67 { &asn_OER_type_ObjectSyntax_constr_1, &asn_PER_type_ObjectSyntax_constr_1, CHOICE_constraint },
68 asn_MBR_ObjectSyntax_1,
69 2, /* Elements count */
70 &asn_SPC_ObjectSyntax_specs_1 /* Additional specs */