rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 3 | * From ASN.1 module "E2SM-RC-IEs" |
| 4 | * found in "e2sm-rc-nov2021.asn" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` |
| 6 | */ |
| 7 | |
| 8 | #include "RANParameter-ID.h" |
| 9 | |
| 10 | int |
| 11 | RANParameter_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, |
| 12 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 13 | |
| 14 | if(!sptr) { |
| 15 | ASN__CTFAIL(app_key, td, sptr, |
| 16 | "%s: value not given (%s:%d)", |
| 17 | td->name, __FILE__, __LINE__); |
| 18 | return -1; |
| 19 | } |
| 20 | |
| 21 | |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 22 | if(1 /* No applicable constraints whatsoever */) { |
| 23 | /* Nothing is here. See below */ |
| 24 | } |
| 25 | |
| 26 | return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | /* |
| 30 | * This type is implemented using NativeInteger, |
| 31 | * so here we adjust the DEF accordingly. |
| 32 | */ |
| 33 | static asn_oer_constraints_t asn_OER_type_RANParameter_ID_constr_1 CC_NOTUSED = { |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 34 | { 0, 0 }, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 35 | -1}; |
| 36 | asn_per_constraints_t asn_PER_type_RANParameter_ID_constr_1 CC_NOTUSED = { |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 37 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 38 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 39 | 0, 0 /* No PER value map */ |
| 40 | }; |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 41 | static const ber_tlv_tag_t asn_DEF_RANParameter_ID_tags_1[] = { |
| 42 | (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) |
| 43 | }; |
| 44 | asn_TYPE_descriptor_t asn_DEF_RANParameter_ID = { |
| 45 | "RANParameter-ID", |
| 46 | "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 */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 56 | 0 /* No specifics */ |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 57 | }; |
| 58 | |