/*
 * 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	_UL_HighInterferenceIndicationInfo_Item_H_
#define	_UL_HighInterferenceIndicationInfo_Item_H_


#include "asn_application.h"

/* Including external dependencies */
#include "ECGI.h"
#include "UL-HighInterferenceIndication.h"
#include "constr_SEQUENCE.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* UL-HighInterferenceIndicationInfo-Item */
typedef struct UL_HighInterferenceIndicationInfo_Item {
	ECGI_t	 target_Cell_ID;
	UL_HighInterferenceIndication_t	 ul_interferenceindication;
	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;
} UL_HighInterferenceIndicationInfo_Item_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_UL_HighInterferenceIndicationInfo_Item;
extern asn_SEQUENCE_specifics_t asn_SPC_UL_HighInterferenceIndicationInfo_Item_specs_1;
extern asn_TYPE_member_t asn_MBR_UL_HighInterferenceIndicationInfo_Item_1[3];

#ifdef __cplusplus
}
#endif

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