62 lines
1.3 KiB
C
62 lines
1.3 KiB
C
|
/*
|
||
|
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
||
|
* From ASN.1 module "E2AP-PDU-Descriptions"
|
||
|
* found in "/home/sjana/ASN-Defns/e2ap-oran-wg3-v01.00.asn"
|
||
|
* `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER`
|
||
|
*/
|
||
|
|
||
|
#ifndef _E2AP_PDU_H_
|
||
|
#define _E2AP_PDU_H_
|
||
|
|
||
|
|
||
|
#include <asn_application.h>
|
||
|
|
||
|
/* Including external dependencies */
|
||
|
#include <constr_CHOICE.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/* Dependencies */
|
||
|
typedef enum E2AP_PDU_PR {
|
||
|
E2AP_PDU_PR_NOTHING, /* No components present */
|
||
|
E2AP_PDU_PR_initiatingMessage,
|
||
|
E2AP_PDU_PR_successfulOutcome,
|
||
|
E2AP_PDU_PR_unsuccessfulOutcome
|
||
|
/* Extensions may appear below */
|
||
|
|
||
|
} E2AP_PDU_PR;
|
||
|
|
||
|
/* Forward declarations */
|
||
|
struct InitiatingMessage;
|
||
|
struct SuccessfulOutcome;
|
||
|
struct UnsuccessfulOutcome;
|
||
|
|
||
|
/* E2AP-PDU */
|
||
|
typedef struct E2AP_PDU {
|
||
|
E2AP_PDU_PR present;
|
||
|
union E2AP_PDU_u {
|
||
|
struct InitiatingMessage *initiatingMessage;
|
||
|
struct SuccessfulOutcome *successfulOutcome;
|
||
|
struct UnsuccessfulOutcome *unsuccessfulOutcome;
|
||
|
/*
|
||
|
* This type is extensible,
|
||
|
* possible extensions are below.
|
||
|
*/
|
||
|
} choice;
|
||
|
|
||
|
/* Context for parsing across buffer boundaries */
|
||
|
asn_struct_ctx_t _asn_ctx;
|
||
|
} E2AP_PDU_t;
|
||
|
|
||
|
/* Implementation */
|
||
|
extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _E2AP_PDU_H_ */
|
||
|
#include <asn_internal.h>
|