2 /*** <<< INCLUDES [OK-Integer1] >>> ***/
4 #include <NativeInteger.h>
6 /*** <<< TYPE-DECLS [OK-Integer1] >>> ***/
8 typedef long OK_Integer1_t;
10 /*** <<< FUNC-DECLS [OK-Integer1] >>> ***/
12 extern asn_TYPE_descriptor_t asn_DEF_OK_Integer1;
13 asn_struct_free_f OK_Integer1_free;
14 asn_struct_print_f OK_Integer1_print;
15 asn_constr_check_f OK_Integer1_constraint;
16 ber_type_decoder_f OK_Integer1_decode_ber;
17 der_type_encoder_f OK_Integer1_encode_der;
18 xer_type_decoder_f OK_Integer1_decode_xer;
19 xer_type_encoder_f OK_Integer1_encode_xer;
21 /*** <<< CODE [OK-Integer1] >>> ***/
24 OK_Integer1_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
25 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
28 ASN__CTFAIL(app_key, td, sptr,
29 "%s: value not given (%s:%d)",
30 td->name, __FILE__, __LINE__);
35 if(1 /* No applicable constraints whatsoever */) {
36 /* Nothing is here. See below */
39 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
43 * This type is implemented using NativeInteger,
44 * so here we adjust the DEF accordingly.
47 /*** <<< STAT-DEFS [OK-Integer1] >>> ***/
49 static const ber_tlv_tag_t asn_DEF_OK_Integer1_tags_1[] = {
50 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
52 asn_TYPE_descriptor_t asn_DEF_OK_Integer1 = {
55 &asn_OP_NativeInteger,
56 asn_DEF_OK_Integer1_tags_1,
57 sizeof(asn_DEF_OK_Integer1_tags_1)
58 /sizeof(asn_DEF_OK_Integer1_tags_1[0]), /* 1 */
59 asn_DEF_OK_Integer1_tags_1, /* Same as above */
60 sizeof(asn_DEF_OK_Integer1_tags_1)
61 /sizeof(asn_DEF_OK_Integer1_tags_1[0]), /* 1 */
62 { 0, 0, OK_Integer1_constraint },
63 0, 0, /* No members */
68 /*** <<< INCLUDES [OK-Integer2] >>> ***/
70 #include <NativeInteger.h>
72 /*** <<< TYPE-DECLS [OK-Integer2] >>> ***/
74 typedef long OK_Integer2_t;
76 /*** <<< FUNC-DECLS [OK-Integer2] >>> ***/
78 extern asn_TYPE_descriptor_t asn_DEF_OK_Integer2;
79 asn_struct_free_f OK_Integer2_free;
80 asn_struct_print_f OK_Integer2_print;
81 asn_constr_check_f OK_Integer2_constraint;
82 ber_type_decoder_f OK_Integer2_decode_ber;
83 der_type_encoder_f OK_Integer2_encode_der;
84 xer_type_decoder_f OK_Integer2_decode_xer;
85 xer_type_encoder_f OK_Integer2_encode_xer;
87 /*** <<< CODE [OK-Integer2] >>> ***/
90 OK_Integer2_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
91 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
94 ASN__CTFAIL(app_key, td, sptr,
95 "%s: value not given (%s:%d)",
96 td->name, __FILE__, __LINE__);
101 if(1 /* No applicable constraints whatsoever */) {
102 /* Nothing is here. See below */
105 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
109 * This type is implemented using NativeInteger,
110 * so here we adjust the DEF accordingly.
113 /*** <<< STAT-DEFS [OK-Integer2] >>> ***/
115 static const ber_tlv_tag_t asn_DEF_OK_Integer2_tags_1[] = {
116 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
118 asn_TYPE_descriptor_t asn_DEF_OK_Integer2 = {
121 &asn_OP_NativeInteger,
122 asn_DEF_OK_Integer2_tags_1,
123 sizeof(asn_DEF_OK_Integer2_tags_1)
124 /sizeof(asn_DEF_OK_Integer2_tags_1[0]), /* 1 */
125 asn_DEF_OK_Integer2_tags_1, /* Same as above */
126 sizeof(asn_DEF_OK_Integer2_tags_1)
127 /sizeof(asn_DEF_OK_Integer2_tags_1[0]), /* 1 */
128 { 0, 0, OK_Integer2_constraint },
129 0, 0, /* No members */
134 /*** <<< INCLUDES [OK-Integer3] >>> ***/
136 #include <NativeInteger.h>
138 /*** <<< TYPE-DECLS [OK-Integer3] >>> ***/
140 typedef long OK_Integer3_t;
142 /*** <<< FUNC-DECLS [OK-Integer3] >>> ***/
144 extern asn_TYPE_descriptor_t asn_DEF_OK_Integer3;
145 asn_struct_free_f OK_Integer3_free;
146 asn_struct_print_f OK_Integer3_print;
147 asn_constr_check_f OK_Integer3_constraint;
148 ber_type_decoder_f OK_Integer3_decode_ber;
149 der_type_encoder_f OK_Integer3_encode_der;
150 xer_type_decoder_f OK_Integer3_decode_xer;
151 xer_type_encoder_f OK_Integer3_encode_xer;
153 /*** <<< CODE [OK-Integer3] >>> ***/
156 OK_Integer3_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
157 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
160 ASN__CTFAIL(app_key, td, sptr,
161 "%s: value not given (%s:%d)",
162 td->name, __FILE__, __LINE__);
167 if(1 /* No applicable constraints whatsoever */) {
168 /* Nothing is here. See below */
171 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
175 * This type is implemented using NativeInteger,
176 * so here we adjust the DEF accordingly.
179 /*** <<< STAT-DEFS [OK-Integer3] >>> ***/
181 static const ber_tlv_tag_t asn_DEF_OK_Integer3_tags_1[] = {
182 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
184 asn_TYPE_descriptor_t asn_DEF_OK_Integer3 = {
187 &asn_OP_NativeInteger,
188 asn_DEF_OK_Integer3_tags_1,
189 sizeof(asn_DEF_OK_Integer3_tags_1)
190 /sizeof(asn_DEF_OK_Integer3_tags_1[0]), /* 1 */
191 asn_DEF_OK_Integer3_tags_1, /* Same as above */
192 sizeof(asn_DEF_OK_Integer3_tags_1)
193 /sizeof(asn_DEF_OK_Integer3_tags_1[0]), /* 1 */
194 { 0, 0, OK_Integer3_constraint },
195 0, 0, /* No members */
200 /*** <<< INCLUDES [OK-Integer4] >>> ***/
202 #include <NativeInteger.h>
204 /*** <<< TYPE-DECLS [OK-Integer4] >>> ***/
206 typedef long OK_Integer4_t;
208 /*** <<< FUNC-DECLS [OK-Integer4] >>> ***/
210 extern asn_TYPE_descriptor_t asn_DEF_OK_Integer4;
211 asn_struct_free_f OK_Integer4_free;
212 asn_struct_print_f OK_Integer4_print;
213 asn_constr_check_f OK_Integer4_constraint;
214 ber_type_decoder_f OK_Integer4_decode_ber;
215 der_type_encoder_f OK_Integer4_encode_der;
216 xer_type_decoder_f OK_Integer4_decode_xer;
217 xer_type_encoder_f OK_Integer4_encode_xer;
219 /*** <<< CODE [OK-Integer4] >>> ***/
222 OK_Integer4_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
223 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
226 ASN__CTFAIL(app_key, td, sptr,
227 "%s: value not given (%s:%d)",
228 td->name, __FILE__, __LINE__);
233 if(1 /* No applicable constraints whatsoever */) {
234 /* Nothing is here. See below */
237 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
241 * This type is implemented using NativeInteger,
242 * so here we adjust the DEF accordingly.
245 /*** <<< STAT-DEFS [OK-Integer4] >>> ***/
247 static const ber_tlv_tag_t asn_DEF_OK_Integer4_tags_1[] = {
248 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
250 asn_TYPE_descriptor_t asn_DEF_OK_Integer4 = {
253 &asn_OP_NativeInteger,
254 asn_DEF_OK_Integer4_tags_1,
255 sizeof(asn_DEF_OK_Integer4_tags_1)
256 /sizeof(asn_DEF_OK_Integer4_tags_1[0]), /* 1 */
257 asn_DEF_OK_Integer4_tags_1, /* Same as above */
258 sizeof(asn_DEF_OK_Integer4_tags_1)
259 /sizeof(asn_DEF_OK_Integer4_tags_1[0]), /* 1 */
260 { 0, 0, OK_Integer4_constraint },
261 0, 0, /* No members */
266 /*** <<< INCLUDES [NO-Integer5] >>> ***/
268 #include <NativeInteger.h>
270 /*** <<< TYPE-DECLS [NO-Integer5] >>> ***/
272 typedef long NO_Integer5_t;
274 /*** <<< FUNC-DECLS [NO-Integer5] >>> ***/
276 extern asn_TYPE_descriptor_t asn_DEF_NO_Integer5;
277 asn_struct_free_f NO_Integer5_free;
278 asn_struct_print_f NO_Integer5_print;
279 asn_constr_check_f NO_Integer5_constraint;
280 ber_type_decoder_f NO_Integer5_decode_ber;
281 der_type_encoder_f NO_Integer5_encode_der;
282 xer_type_decoder_f NO_Integer5_decode_xer;
283 xer_type_encoder_f NO_Integer5_encode_xer;
285 /*** <<< CODE [NO-Integer5] >>> ***/
288 NO_Integer5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
289 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
292 ASN__CTFAIL(app_key, td, sptr,
293 "%s: value not given (%s:%d)",
294 td->name, __FILE__, __LINE__);
299 if(1 /* No applicable constraints whatsoever */) {
300 /* Nothing is here. See below */
303 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
307 * This type is implemented using NativeInteger,
308 * so here we adjust the DEF accordingly.
311 /*** <<< STAT-DEFS [NO-Integer5] >>> ***/
313 static const ber_tlv_tag_t asn_DEF_NO_Integer5_tags_1[] = {
314 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
316 asn_TYPE_descriptor_t asn_DEF_NO_Integer5 = {
319 &asn_OP_NativeInteger,
320 asn_DEF_NO_Integer5_tags_1,
321 sizeof(asn_DEF_NO_Integer5_tags_1)
322 /sizeof(asn_DEF_NO_Integer5_tags_1[0]), /* 1 */
323 asn_DEF_NO_Integer5_tags_1, /* Same as above */
324 sizeof(asn_DEF_NO_Integer5_tags_1)
325 /sizeof(asn_DEF_NO_Integer5_tags_1[0]), /* 1 */
326 { 0, 0, NO_Integer5_constraint },
327 0, 0, /* No members */