]> git.stg.codes - stg.git/blob - stglibs/smux.lib/OpenPDU.c
Fixed parsers.
[stg.git] / stglibs / smux.lib / OpenPDU.c
1 /*
2  * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3  * From ASN.1 module "SMUX"
4  *      found in "SMUX.asn1"
5  *      `asn1c -fskeletons-copy`
6  */
7
8 #include <asn_internal.h>
9
10 #include "OpenPDU.h"
11
12 static asn_TYPE_member_t asn_MBR_OpenPDU_1[] = {
13         { ATF_NOFLAGS, 0, offsetof(struct OpenPDU, choice.simple),
14                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
15                 0,
16                 &asn_DEF_SimpleOpen,
17                 0,      /* Defer constraints checking to the member type */
18                 0,      /* PER is not compiled, use -gen-PER */
19                 0,
20                 "simple"
21                 },
22 };
23 static asn_TYPE_tag2member_t asn_MAP_OpenPDU_tag2el_1[] = {
24     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 } /* simple at 52 */
25 };
26 static asn_CHOICE_specifics_t asn_SPC_OpenPDU_specs_1 = {
27         sizeof(struct OpenPDU),
28         offsetof(struct OpenPDU, _asn_ctx),
29         offsetof(struct OpenPDU, present),
30         sizeof(((struct OpenPDU *)0)->present),
31         asn_MAP_OpenPDU_tag2el_1,
32         1,      /* Count of tags in the map */
33         0,
34         -1      /* Extensions start */
35 };
36 asn_TYPE_descriptor_t asn_DEF_OpenPDU = {
37         "OpenPDU",
38         "OpenPDU",
39         CHOICE_free,
40         CHOICE_print,
41         CHOICE_constraint,
42         CHOICE_decode_ber,
43         CHOICE_encode_der,
44         CHOICE_decode_xer,
45         CHOICE_encode_xer,
46         0, 0,   /* No PER support, use "-gen-PER" to enable */
47         CHOICE_outmost_tag,
48         0,      /* No effective tags (pointer) */
49         0,      /* No effective tags (count) */
50         0,      /* No tags (pointer) */
51         0,      /* No tags (count) */
52         0,      /* No PER visible constraints */
53         asn_MBR_OpenPDU_1,
54         1,      /* Elements count */
55         &asn_SPC_OpenPDU_specs_1        /* Additional specs */
56 };
57