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


#include "asn_application.h"

/* Including external dependencies */
#include "ProtocolIE-Container.h"
#include "constr_SEQUENCE.h"

#ifdef __cplusplus
extern "C" {
#endif

/* ResourceStatusResponse */
typedef struct ResourceStatusResponse {
	ProtocolIE_Container_8807P25_t	 protocolIEs;
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ResourceStatusResponse_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ResourceStatusResponse;
extern asn_SEQUENCE_specifics_t asn_SPC_ResourceStatusResponse_specs_1;
extern asn_TYPE_member_t asn_MBR_ResourceStatusResponse_1[1];

#ifdef __cplusplus
}
#endif

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