/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "X2AP-IEs"
 * 	found in "Spec/e2_and_x2-combined-and-minimized.asn1"
 * 	`asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
 */

#ifndef	_RadioResourceStatus_H_
#define	_RadioResourceStatus_H_


#include "asn_application.h"

/* Including external dependencies */
#include "DL-GBR-PRB-usage.h"
#include "UL-GBR-PRB-usage.h"
#include "DL-non-GBR-PRB-usage.h"
#include "UL-non-GBR-PRB-usage.h"
#include "DL-Total-PRB-usage.h"
#include "UL-Total-PRB-usage.h"
#include "constr_SEQUENCE.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* RadioResourceStatus */
typedef struct RadioResourceStatus {
	DL_GBR_PRB_usage_t	 dL_GBR_PRB_usage;
	UL_GBR_PRB_usage_t	 uL_GBR_PRB_usage;
	DL_non_GBR_PRB_usage_t	 dL_non_GBR_PRB_usage;
	UL_non_GBR_PRB_usage_t	 uL_non_GBR_PRB_usage;
	DL_Total_PRB_usage_t	 dL_Total_PRB_usage;
	UL_Total_PRB_usage_t	 uL_Total_PRB_usage;
	struct ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} RadioResourceStatus_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RadioResourceStatus;
extern asn_SEQUENCE_specifics_t asn_SPC_RadioResourceStatus_specs_1;
extern asn_TYPE_member_t asn_MBR_RadioResourceStatus_1[7];

#ifdef __cplusplus
}
#endif

#endif	/* _RadioResourceStatus_H_ */
#include "asn_internal.h"
