/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "X2AP-IEs"
 * 	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	_ScheduledCommunicationTime_H_
#define	_ScheduledCommunicationTime_H_


#include <asn_application.h>

/* Including external dependencies */
#include <BIT_STRING.h>
#include <NativeInteger.h>
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Forward declarations */
struct ProtocolExtensionContainer;

/* ScheduledCommunicationTime */
typedef struct ScheduledCommunicationTime {
	BIT_STRING_t	*dayofWeek;	/* OPTIONAL */
	long	*timeofDayStart;	/* OPTIONAL */
	long	*timeofDayEnd;	/* OPTIONAL */
	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;
} ScheduledCommunicationTime_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ScheduledCommunicationTime;
extern asn_SEQUENCE_specifics_t asn_SPC_ScheduledCommunicationTime_specs_1;
extern asn_TYPE_member_t asn_MBR_ScheduledCommunicationTime_1[4];

#ifdef __cplusplus
}
#endif

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