]> git.stg.codes - stg.git/blob - libs/smux/include/stg/PDUs.h
Regen SMUX support library with more recent ASN1 compiler.
[stg.git] / libs / smux / include / stg / PDUs.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1157-SNMP"
4  *      found in "RFC1157-SNMP.asn1"
5  *      `asn1c -S /home/faust/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 extern asn_CHOICE_specifics_t asn_SPC_PDUs_specs_1;
54 extern asn_TYPE_member_t asn_MBR_PDUs_1[5];
55 extern asn_per_constraints_t asn_PER_type_PDUs_constr_1;
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif  /* _PDUs_H_ */
62 #include <asn_internal.h>