/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "X2AP-PDU-Contents"
 * 	found in "X2AP-15-4-0.asn1"
 * 	`asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
 */

#ifndef	_ENBConfigurationUpdateFailure_H_
#define	_ENBConfigurationUpdateFailure_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ProtocolIE-Container.h"
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* ENBConfigurationUpdateFailure */
typedef struct ENBConfigurationUpdateFailure {
	ProtocolIE_Container_7632P30_t	 protocolIEs;
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ENBConfigurationUpdateFailure_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ENBConfigurationUpdateFailure;
extern asn_SEQUENCE_specifics_t asn_SPC_ENBConfigurationUpdateFailure_specs_1;
extern asn_TYPE_member_t asn_MBR_ENBConfigurationUpdateFailure_1[1];

#ifdef __cplusplus
}
#endif

#endif	/* _ENBConfigurationUpdateFailure_H_ */
#include <asn_internal.h>
