/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "E2SM-RC-IEs"
 * 	found in "e2sm-rc-nov2021.asn"
 * 	`asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
 */

#ifndef	_RRCclass_NR_H_
#define	_RRCclass_NR_H_


#include <asn_application.h>

/* Including external dependencies */
#include <NativeEnumerated.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum RRCclass_NR {
	RRCclass_NR_bCCH_BCH	= 0,
	RRCclass_NR_bCCH_DL_SCH	= 1,
	RRCclass_NR_dL_CCCH	= 2,
	RRCclass_NR_dL_DCCH	= 3,
	RRCclass_NR_pCCH	= 4,
	RRCclass_NR_uL_CCCH	= 5,
	RRCclass_NR_uL_CCCH1	= 6,
	RRCclass_NR_uL_DCCH	= 7
	/*
	 * Enumeration is extensible
	 */
} e_RRCclass_NR;

/* RRCclass-NR */
typedef long	 RRCclass_NR_t;

/* Implementation */
extern asn_per_constraints_t asn_PER_type_RRCclass_NR_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_RRCclass_NR;
extern const asn_INTEGER_specifics_t asn_SPC_RRCclass_NR_specs_1;
asn_struct_free_f RRCclass_NR_free;
asn_struct_print_f RRCclass_NR_print;
asn_constr_check_f RRCclass_NR_constraint;
ber_type_decoder_f RRCclass_NR_decode_ber;
der_type_encoder_f RRCclass_NR_encode_der;
xer_type_decoder_f RRCclass_NR_decode_xer;
xer_type_encoder_f RRCclass_NR_encode_xer;
oer_type_decoder_f RRCclass_NR_decode_oer;
oer_type_encoder_f RRCclass_NR_encode_oer;
per_type_decoder_f RRCclass_NR_decode_uper;
per_type_encoder_f RRCclass_NR_encode_uper;
per_type_decoder_f RRCclass_NR_decode_aper;
per_type_encoder_f RRCclass_NR_encode_aper;

#ifdef __cplusplus
}
#endif

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