]> git.stg.codes - stg.git/blob - libs/smux/include/stg/PDUs.h
Fix Boost package name.
[stg.git] / libs / smux / include / stg / PDUs.h
1 /*
2  * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1157-SNMP"
4  *      found in "RFC1157-SNMP.asn1"
5  *      `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
6  */
7
8 #ifndef _PDUs_H_
9 #define _PDUs_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "GetRequest-PDU.h"
16 #include "GetNextRequest-PDU.h"
17 #include "GetResponse-PDU.h"
18 #include "SetRequest-PDU.h"
19 #include "Trap-PDU.h"
20 #include <constr_CHOICE.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /* Dependencies */
27 typedef enum PDUs_PR {
28         PDUs_PR_NOTHING,        /* No components present */
29         PDUs_PR_get_request,
30         PDUs_PR_get_next_request,
31         PDUs_PR_get_response,
32         PDUs_PR_set_request,
33         PDUs_PR_trap
34 } PDUs_PR;
35
36 /* PDUs */
37 typedef struct PDUs {
38         PDUs_PR present;
39         union PDUs_u {
40                 GetRequest_PDU_t         get_request;
41                 GetNextRequest_PDU_t     get_next_request;
42                 GetResponse_PDU_t        get_response;
43                 SetRequest_PDU_t         set_request;
44                 Trap_PDU_t       trap;
45         } choice;
46         
47         /* Context for parsing across buffer boundaries */
48         asn_struct_ctx_t _asn_ctx;
49 } PDUs_t;
50
51 /* Implementation */
52 extern asn_TYPE_descriptor_t asn_DEF_PDUs;
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58 #endif  /* _PDUs_H_ */
59 #include <asn_internal.h>