|
| 1 | +/* |
| 2 | + * Generated by asn1c-0.9.21 (http://lionet.info/asn1c) |
| 3 | + * From ASN.1 module "SQLQuery" |
| 4 | + * found in "SQLQuery.asn1" |
| 5 | + * `asn1c -fskeletons-copy -fnative-types` |
| 6 | + */ |
| 7 | + |
| 8 | +#include <asn_internal.h> |
| 9 | + |
| 10 | +#include "ASNBinaryExpression.h" |
| 11 | + |
| 12 | +static asn_TYPE_member_t asn_MBR_ASNBinaryExpression_1[] = { |
| 13 | + { ATF_POINTER, 0, offsetof(struct ASNBinaryExpression, lhs), |
| 14 | + -1 /* Ambiguous tag (CHOICE?) */, |
| 15 | + 0, |
| 16 | + &asn_DEF_ASNExpression, |
| 17 | + 0, /* Defer constraints checking to the member type */ |
| 18 | + 0, /* No PER visible constraints */ |
| 19 | + 0, |
| 20 | + "lhs" |
| 21 | + }, |
| 22 | + { ATF_NOFLAGS, 0, offsetof(struct ASNBinaryExpression, operator), |
| 23 | + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), |
| 24 | + 0, |
| 25 | + &asn_DEF_ASNBinaryOperator, |
| 26 | + 0, /* Defer constraints checking to the member type */ |
| 27 | + 0, /* No PER visible constraints */ |
| 28 | + 0, |
| 29 | + "operator" |
| 30 | + }, |
| 31 | + { ATF_POINTER, 0, offsetof(struct ASNBinaryExpression, rhs), |
| 32 | + -1 /* Ambiguous tag (CHOICE?) */, |
| 33 | + 0, |
| 34 | + &asn_DEF_ASNExpression, |
| 35 | + 0, /* Defer constraints checking to the member type */ |
| 36 | + 0, /* No PER visible constraints */ |
| 37 | + 0, |
| 38 | + "rhs" |
| 39 | + }, |
| 40 | +}; |
| 41 | +static ber_tlv_tag_t asn_DEF_ASNBinaryExpression_tags_1[] = { |
| 42 | + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 43 | +}; |
| 44 | +static asn_TYPE_tag2member_t asn_MAP_ASNBinaryExpression_tag2el_1[] = { |
| 45 | + { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 }, /* operator at 54 */ |
| 46 | + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 1 }, /* intConst at 46 */ |
| 47 | + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, -1, 0 }, /* intConst at 46 */ |
| 48 | + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 1 }, /* floatConst at 47 */ |
| 49 | + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, -1, 0 }, /* floatConst at 47 */ |
| 50 | + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 1 }, /* stringConst at 48 */ |
| 51 | + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, -1, 0 }, /* stringConst at 48 */ |
| 52 | + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 1 }, /* binaryExpr at 50 */ |
| 53 | + { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, -1, 0 } /* binaryExpr at 50 */ |
| 54 | +}; |
| 55 | +static asn_SEQUENCE_specifics_t asn_SPC_ASNBinaryExpression_specs_1 = { |
| 56 | + sizeof(struct ASNBinaryExpression), |
| 57 | + offsetof(struct ASNBinaryExpression, _asn_ctx), |
| 58 | + asn_MAP_ASNBinaryExpression_tag2el_1, |
| 59 | + 9, /* Count of tags in the map */ |
| 60 | + 0, 0, 0, /* Optional elements (not needed) */ |
| 61 | + -1, /* Start extensions */ |
| 62 | + -1 /* Stop extensions */ |
| 63 | +}; |
| 64 | +asn_TYPE_descriptor_t asn_DEF_ASNBinaryExpression = { |
| 65 | + "ASNBinaryExpression", |
| 66 | + "ASNBinaryExpression", |
| 67 | + SEQUENCE_free, |
| 68 | + SEQUENCE_print, |
| 69 | + SEQUENCE_constraint, |
| 70 | + SEQUENCE_decode_ber, |
| 71 | + SEQUENCE_encode_der, |
| 72 | + SEQUENCE_decode_xer, |
| 73 | + SEQUENCE_encode_xer, |
| 74 | + SEQUENCE_decode_uper, |
| 75 | + SEQUENCE_encode_uper, |
| 76 | + 0, /* Use generic outmost tag fetcher */ |
| 77 | + asn_DEF_ASNBinaryExpression_tags_1, |
| 78 | + sizeof(asn_DEF_ASNBinaryExpression_tags_1) |
| 79 | + /sizeof(asn_DEF_ASNBinaryExpression_tags_1[0]), /* 1 */ |
| 80 | + asn_DEF_ASNBinaryExpression_tags_1, /* Same as above */ |
| 81 | + sizeof(asn_DEF_ASNBinaryExpression_tags_1) |
| 82 | + /sizeof(asn_DEF_ASNBinaryExpression_tags_1[0]), /* 1 */ |
| 83 | + 0, /* No PER visible constraints */ |
| 84 | + asn_MBR_ASNBinaryExpression_1, |
| 85 | + 3, /* Elements count */ |
| 86 | + &asn_SPC_ASNBinaryExpression_specs_1 /* Additional specs */ |
| 87 | +}; |
| 88 | + |
0 commit comments