]> git.stg.codes - stg.git/blob - stglibs/smux.lib/include/stg/ApplicationSyntax.h
Moved base and utility classes from global scope.
[stg.git] / stglibs / smux.lib / include / stg / ApplicationSyntax.h
1 /*
2  * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1155-SMI"
4  *      found in "RFC1155-SMI.asn1"
5  *      `asn1c -fskeletons-copy`
6  */
7
8 #ifndef _ApplicationSyntax_H_
9 #define _ApplicationSyntax_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "NetworkAddress.h"
16 #include "Counter.h"
17 #include "Gauge.h"
18 #include "TimeTicks.h"
19 #include "Opaque.h"
20 #include <constr_CHOICE.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /* Dependencies */
27 typedef enum ApplicationSyntax_PR {
28         ApplicationSyntax_PR_NOTHING,   /* No components present */
29         ApplicationSyntax_PR_address,
30         ApplicationSyntax_PR_counter,
31         ApplicationSyntax_PR_gauge,
32         ApplicationSyntax_PR_ticks,
33         ApplicationSyntax_PR_arbitrary
34 } ApplicationSyntax_PR;
35
36 /* ApplicationSyntax */
37 typedef struct ApplicationSyntax {
38         ApplicationSyntax_PR present;
39         union ApplicationSyntax_u {
40                 NetworkAddress_t         address;
41                 Counter_t        counter;
42                 Gauge_t  gauge;
43                 TimeTicks_t      ticks;
44                 Opaque_t         arbitrary;
45         } choice;
46         
47         /* Context for parsing across buffer boundaries */
48         asn_struct_ctx_t _asn_ctx;
49 } ApplicationSyntax_t;
50
51 /* Implementation */
52 extern asn_TYPE_descriptor_t asn_DEF_ApplicationSyntax;
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58 #endif  /* _ApplicationSyntax_H_ */