2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm-rc-2.0.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
8 #include "RANParameter-ID.h"
11 RANParameter_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
15 ASN__CTFAIL(app_key, td, sptr,
16 "%s: value not given (%s:%d)",
17 td->name, __FILE__, __LINE__);
22 if(1 /* No applicable constraints whatsoever */) {
23 /* Nothing is here. See below */
26 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
30 * This type is implemented using NativeInteger,
31 * so here we adjust the DEF accordingly.
33 static asn_oer_constraints_t asn_OER_type_RANParameter_ID_constr_1 CC_NOTUSED = {
36 asn_per_constraints_t asn_PER_type_RANParameter_ID_constr_1 CC_NOTUSED = {
37 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
38 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
39 0, 0 /* No PER value map */
41 static const ber_tlv_tag_t asn_DEF_RANParameter_ID_tags_1[] = {
42 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
44 asn_TYPE_descriptor_t asn_DEF_RANParameter_ID = {
47 &asn_OP_NativeInteger,
48 asn_DEF_RANParameter_ID_tags_1,
49 sizeof(asn_DEF_RANParameter_ID_tags_1)
50 /sizeof(asn_DEF_RANParameter_ID_tags_1[0]), /* 1 */
51 asn_DEF_RANParameter_ID_tags_1, /* Same as above */
52 sizeof(asn_DEF_RANParameter_ID_tags_1)
53 /sizeof(asn_DEF_RANParameter_ID_tags_1[0]), /* 1 */
54 { &asn_OER_type_RANParameter_ID_constr_1, &asn_PER_type_RANParameter_ID_constr_1, RANParameter_ID_constraint },
55 0, 0, /* No members */