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


#include "asn_application.h"

/* Including external dependencies */
#include "EARFCN.h"
#include "Transmission-Bandwidth.h"
#include "SubframeAssignment.h"
#include "SpecialSubframe-Info.h"
#include "constr_SEQUENCE.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* TDD-Info */
typedef struct TDD_Info {
	EARFCN_t	 eARFCN;
	Transmission_Bandwidth_t	 transmission_Bandwidth;
	SubframeAssignment_t	 subframeAssignment;
	SpecialSubframe_Info_t	 specialSubframe_Info;
	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;
} TDD_Info_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_TDD_Info;
extern asn_SEQUENCE_specifics_t asn_SPC_TDD_Info_specs_1;
extern asn_TYPE_member_t asn_MBR_TDD_Info_1[5];

#ifdef __cplusplus
}
#endif

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