]> git.stg.codes - stg.git/blob - stglibs/smux.lib/include/stg/ObjectSyntax.h
Ticket 37. The message variable definition moved from if() construction
[stg.git] / stglibs / smux.lib / include / stg / ObjectSyntax.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 _ObjectSyntax_H_
9 #define _ObjectSyntax_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "SimpleSyntax.h"
16 #include "ApplicationSyntax.h"
17 #include <constr_CHOICE.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 /* Dependencies */
24 typedef enum ObjectSyntax_PR {
25         ObjectSyntax_PR_NOTHING,        /* No components present */
26         ObjectSyntax_PR_simple,
27         ObjectSyntax_PR_application_wide
28 } ObjectSyntax_PR;
29
30 /* ObjectSyntax */
31 typedef struct ObjectSyntax {
32         ObjectSyntax_PR present;
33         union ObjectSyntax_u {
34                 SimpleSyntax_t   simple;
35                 ApplicationSyntax_t      application_wide;
36         } choice;
37         
38         /* Context for parsing across buffer boundaries */
39         asn_struct_ctx_t _asn_ctx;
40 } ObjectSyntax_t;
41
42 /* Implementation */
43 extern asn_TYPE_descriptor_t asn_DEF_ObjectSyntax;
44
45 #ifdef __cplusplus
46 }
47 #endif
48
49 #endif  /* _ObjectSyntax_H_ */