]> git.stg.codes - stg.git/blob - stglibs/smux.lib/include/stg/SimpleSyntax.h
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git] / stglibs / smux.lib / include / stg / SimpleSyntax.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 _SimpleSyntax_H_
9 #define _SimpleSyntax_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include <INTEGER.h>
16 #include <OCTET_STRING.h>
17 #include <OBJECT_IDENTIFIER.h>
18 #include <NULL.h>
19 #include <constr_CHOICE.h>
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 /* Dependencies */
26 typedef enum SimpleSyntax_PR {
27         SimpleSyntax_PR_NOTHING,        /* No components present */
28         SimpleSyntax_PR_number,
29         SimpleSyntax_PR_string,
30         SimpleSyntax_PR_object,
31         SimpleSyntax_PR_empty
32 } SimpleSyntax_PR;
33
34 /* SimpleSyntax */
35 typedef struct SimpleSyntax {
36         SimpleSyntax_PR present;
37         union SimpleSyntax_u {
38                 INTEGER_t        number;
39                 OCTET_STRING_t   string;
40                 OBJECT_IDENTIFIER_t      object;
41                 NULL_t   empty;
42         } choice;
43         
44         /* Context for parsing across buffer boundaries */
45         asn_struct_ctx_t _asn_ctx;
46 } SimpleSyntax_t;
47
48 /* Implementation */
49 extern asn_TYPE_descriptor_t asn_DEF_SimpleSyntax;
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55 #endif  /* _SimpleSyntax_H_ */