]> git.stg.codes - stg.git/blob - libs/smux/include/stg/PDU.h
10e30f17c6a7f402edec0735fc116820af303cbf
[stg.git] / libs / smux / include / stg / PDU.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 _PDU_H_
9 #define _PDU_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include <INTEGER.h>
16 #include "VarBindList.h"
17 #include <constr_SEQUENCE.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 /* Dependencies */
24 typedef enum PDU__error_status {
25         PDU__error_status_noError       = 0,
26         PDU__error_status_tooBig        = 1,
27         PDU__error_status_noSuchName    = 2,
28         PDU__error_status_badValue      = 3,
29         PDU__error_status_readOnly      = 4,
30         PDU__error_status_genErr        = 5
31 } e_PDU__error_status;
32
33 /* PDU */
34 typedef struct PDU {
35         INTEGER_t        request_id;
36         INTEGER_t        error_status;
37         INTEGER_t        error_index;
38         VarBindList_t    variable_bindings;
39         
40         /* Context for parsing across buffer boundaries */
41         asn_struct_ctx_t _asn_ctx;
42 } PDU_t;
43
44 /* Implementation */
45 extern asn_TYPE_descriptor_t asn_DEF_PDU;
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif  /* _PDU_H_ */
52 #include <asn_internal.h>