]> git.stg.codes - stg.git/blob - stglibs/smux.lib/ObjectSyntax.c
Merge branch 'stg-2.409-radius'
[stg.git] / stglibs / smux.lib / ObjectSyntax.c
1 /*
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`
6  */
7
8 #include <asn_internal.h>
9
10 #include "ObjectSyntax.h"
11
12 static asn_TYPE_member_t asn_MBR_ObjectSyntax_1[] = {
13         { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.simple),
14                 -1 /* Ambiguous tag (CHOICE?) */,
15                 0,
16                 &asn_DEF_SimpleSyntax,
17                 0,      /* Defer constraints checking to the member type */
18                 0,      /* PER is not compiled, use -gen-PER */
19                 0,
20                 "simple"
21                 },
22         { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.application_wide),
23                 -1 /* Ambiguous tag (CHOICE?) */,
24                 0,
25                 &asn_DEF_ApplicationSyntax,
26                 0,      /* Defer constraints checking to the member type */
27                 0,      /* PER is not compiled, use -gen-PER */
28                 0,
29                 "application-wide"
30                 },
31 };
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 */
42 };
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 */
50         0,
51         -1      /* Extensions start */
52 };
53 asn_TYPE_descriptor_t asn_DEF_ObjectSyntax = {
54         "ObjectSyntax",
55         "ObjectSyntax",
56         CHOICE_free,
57         CHOICE_print,
58         CHOICE_constraint,
59         CHOICE_decode_ber,
60         CHOICE_encode_der,
61         CHOICE_decode_xer,
62         CHOICE_encode_xer,
63         0, 0,   /* No PER support, use "-gen-PER" to enable */
64         CHOICE_outmost_tag,
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 */
73 };
74