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