]> git.stg.codes - stg.git/blob - libs/smux/include/stg/SMUX-PDUs.h
033875420b3440deb0f7bd19b7a872b0b308c0bd
[stg.git] / libs / smux / include / stg / SMUX-PDUs.h
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 #ifndef _SMUX_PDUs_H_
9 #define _SMUX_PDUs_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "OpenPDU.h"
16 #include "ClosePDU.h"
17 #include "RReqPDU.h"
18 #include "RRspPDU.h"
19 #include "PDUs.h"
20 #include "SOutPDU.h"
21 #include <constr_CHOICE.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Dependencies */
28 typedef enum SMUX_PDUs_PR {
29         SMUX_PDUs_PR_NOTHING,   /* No components present */
30         SMUX_PDUs_PR_open,
31         SMUX_PDUs_PR_close,
32         SMUX_PDUs_PR_registerRequest,
33         SMUX_PDUs_PR_registerResponse,
34         SMUX_PDUs_PR_pdus,
35         SMUX_PDUs_PR_commitOrRollback
36 } SMUX_PDUs_PR;
37
38 /* SMUX-PDUs */
39 typedef struct SMUX_PDUs {
40         SMUX_PDUs_PR present;
41         union SMUX_PDUs_u {
42                 OpenPDU_t        open;
43                 ClosePDU_t       close;
44                 RReqPDU_t        registerRequest;
45                 RRspPDU_t        registerResponse;
46                 PDUs_t   pdus;
47                 SOutPDU_t        commitOrRollback;
48         } choice;
49         
50         /* Context for parsing across buffer boundaries */
51         asn_struct_ctx_t _asn_ctx;
52 } SMUX_PDUs_t;
53
54 /* Implementation */
55 extern asn_TYPE_descriptor_t asn_DEF_SMUX_PDUs;
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif  /* _SMUX_PDUs_H_ */
62 #include <asn_internal.h>