]> git.stg.codes - stg.git/blob - libs/smux/OpenPDU.c
Use async-radius.
[stg.git] / libs / smux / OpenPDU.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "SMUX"
4  *      found in "SMUX.asn1"
5  *      `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
6  */
7
8 #include "OpenPDU.h"
9
10 static asn_oer_constraints_t asn_OER_type_OpenPDU_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_OpenPDU_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_OpenPDU_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct OpenPDU, choice.simple),
20                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
21                 0,
22                 &asn_DEF_SimpleOpen,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "simple"
27                 },
28 };
29 static const asn_TYPE_tag2member_t asn_MAP_OpenPDU_tag2el_1[] = {
30     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 } /* simple */
31 };
32 asn_CHOICE_specifics_t asn_SPC_OpenPDU_specs_1 = {
33         sizeof(struct OpenPDU),
34         offsetof(struct OpenPDU, _asn_ctx),
35         offsetof(struct OpenPDU, present),
36         sizeof(((struct OpenPDU *)0)->present),
37         asn_MAP_OpenPDU_tag2el_1,
38         1,      /* Count of tags in the map */
39         0, 0,
40         -1      /* Extensions start */
41 };
42 asn_TYPE_descriptor_t asn_DEF_OpenPDU = {
43         "OpenPDU",
44         "OpenPDU",
45         &asn_OP_CHOICE,
46         0,      /* No effective tags (pointer) */
47         0,      /* No effective tags (count) */
48         0,      /* No tags (pointer) */
49         0,      /* No tags (count) */
50         { &asn_OER_type_OpenPDU_constr_1, &asn_PER_type_OpenPDU_constr_1, CHOICE_constraint },
51         asn_MBR_OpenPDU_1,
52         1,      /* Elements count */
53         &asn_SPC_OpenPDU_specs_1        /* Additional specs */
54 };
55