anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "ASN1C-UsefulInformationObjectClasses" |
| 4 | * found in "/users/badhri85/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -gen-PER -findirect-choice -pdu=S1AP-PDU` |
| 6 | */ |
| 7 | |
| 8 | #ifndef _EXTERNAL_H_ |
| 9 | #define _EXTERNAL_H_ |
| 10 | |
| 11 | |
| 12 | #include <asn_application.h> |
| 13 | |
| 14 | /* Including external dependencies */ |
| 15 | #include <OBJECT_IDENTIFIER.h> |
| 16 | #include <NativeInteger.h> |
| 17 | #include <ObjectDescriptor.h> |
| 18 | #include <ANY.h> |
| 19 | #include <OCTET_STRING.h> |
| 20 | #include <BIT_STRING.h> |
| 21 | #include <constr_CHOICE.h> |
| 22 | #include <constr_SEQUENCE.h> |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | /* Dependencies */ |
| 29 | typedef enum EXTERNAL__encoding_PR { |
| 30 | EXTERNAL__encoding_PR_NOTHING, /* No components present */ |
| 31 | EXTERNAL__encoding_PR_single_ASN1_type, |
| 32 | EXTERNAL__encoding_PR_octet_aligned, |
| 33 | EXTERNAL__encoding_PR_arbitrary |
| 34 | } EXTERNAL__encoding_PR; |
| 35 | |
| 36 | /* EXTERNAL */ |
| 37 | typedef struct EXTERNAL { |
| 38 | OBJECT_IDENTIFIER_t *direct_reference; /* OPTIONAL */ |
| 39 | long *indirect_reference; /* OPTIONAL */ |
| 40 | ObjectDescriptor_t *data_value_descriptor; /* OPTIONAL */ |
| 41 | struct EXTERNAL__encoding { |
| 42 | EXTERNAL__encoding_PR present; |
| 43 | union EXTERNAL__encoding_u { |
| 44 | ANY_t single_ASN1_type; |
| 45 | OCTET_STRING_t octet_aligned; |
| 46 | BIT_STRING_t arbitrary; |
| 47 | } choice; |
| 48 | |
| 49 | /* Context for parsing across buffer boundaries */ |
| 50 | asn_struct_ctx_t _asn_ctx; |
| 51 | } encoding; |
| 52 | |
| 53 | /* Context for parsing across buffer boundaries */ |
| 54 | asn_struct_ctx_t _asn_ctx; |
| 55 | } EXTERNAL_t; |
| 56 | |
| 57 | /* Implementation */ |
| 58 | extern asn_TYPE_descriptor_t asn_DEF_EXTERNAL; |
| 59 | |
| 60 | #ifdef __cplusplus |
| 61 | } |
| 62 | #endif |
| 63 | |
| 64 | #endif /* _EXTERNAL_H_ */ |
| 65 | #include <asn_internal.h> |