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


#include <asn_application.h>

/* Including external dependencies */
#include "GNB-CU-UE-F1AP-ID.h"
#include "RANUEID.h"
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* UEID-GNB-DU */
typedef struct UEID_GNB_DU {
	GNB_CU_UE_F1AP_ID_t	 gNB_CU_UE_F1AP_ID;
	RANUEID_t	*ran_UEID;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} UEID_GNB_DU_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_UEID_GNB_DU;
extern asn_SEQUENCE_specifics_t asn_SPC_UEID_GNB_DU_specs_1;
extern asn_TYPE_member_t asn_MBR_UEID_GNB_DU_1[2];

#ifdef __cplusplus
}
#endif

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