]> git.stg.codes - stg.git/blob - libs/smux/ObjectSyntax.c
Regen SMUX support library with more recent ASN1 compiler.
[stg.git] / libs / smux / ObjectSyntax.c
1 /*
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`
6  */
7
8 #include "ObjectSyntax.h"
9
10 static asn_oer_constraints_t asn_OER_type_ObjectSyntax_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
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 */
17 };
18 asn_TYPE_member_t asn_MBR_ObjectSyntax_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.simple),
20                 -1 /* Ambiguous tag (CHOICE?) */,
21                 0,
22                 &asn_DEF_SimpleSyntax,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "simple"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.application_wide),
29                 -1 /* Ambiguous tag (CHOICE?) */,
30                 0,
31                 &asn_DEF_ApplicationSyntax,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "application-wide"
36                 },
37 };
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 */
48 };
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 */
56         0, 0,
57         -1      /* Extensions start */
58 };
59 asn_TYPE_descriptor_t asn_DEF_ObjectSyntax = {
60         "ObjectSyntax",
61         "ObjectSyntax",
62         &asn_OP_CHOICE,
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 */
71 };
72