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


#include "asn_application.h"

/* Including external dependencies */
#include "AdditionalSpecialSubframePatterns.h"
#include "CyclicPrefixDL.h"
#include "CyclicPrefixUL.h"
#include "constr_SEQUENCE.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* AdditionalSpecialSubframe-Info */
typedef struct AdditionalSpecialSubframe_Info {
	AdditionalSpecialSubframePatterns_t	 additionalspecialSubframePatterns;
	CyclicPrefixDL_t	 cyclicPrefixDL;
	CyclicPrefixUL_t	 cyclicPrefixUL;
	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;
} AdditionalSpecialSubframe_Info_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AdditionalSpecialSubframe_Info;

#ifdef __cplusplus
}
#endif

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