]> git.stg.codes - stg.git/blob - stglibs/smux.lib/include/stg/NetworkAddress.h
Moved base and utility classes from global scope.
[stg.git] / stglibs / smux.lib / include / stg / NetworkAddress.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 _NetworkAddress_H_
9 #define _NetworkAddress_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "IpAddress.h"
16 #include <constr_CHOICE.h>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 /* Dependencies */
23 typedef enum NetworkAddress_PR {
24         NetworkAddress_PR_NOTHING,      /* No components present */
25         NetworkAddress_PR_internet
26 } NetworkAddress_PR;
27
28 /* NetworkAddress */
29 typedef struct NetworkAddress {
30         NetworkAddress_PR present;
31         union NetworkAddress_u {
32                 IpAddress_t      internet;
33         } choice;
34         
35         /* Context for parsing across buffer boundaries */
36         asn_struct_ctx_t _asn_ctx;
37 } NetworkAddress_t;
38
39 /* Implementation */
40 extern asn_TYPE_descriptor_t asn_DEF_NetworkAddress;
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif  /* _NetworkAddress_H_ */