| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /*
- * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
- * From ASN.1 module "Seader"
- * found in "seader.asn1"
- * `asn1c -D ./lib/asn1 -no-gen-example -pdu=all`
- */
- #include "ErrorResponse.h"
- asn_TYPE_member_t asn_MBR_ErrorResponse_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct ErrorResponse, errorCode),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_NativeInteger,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "errorCode"
- },
- { ATF_NOFLAGS, 0, offsetof(struct ErrorResponse, data),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_OCTET_STRING,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "data"
- },
- };
- static const ber_tlv_tag_t asn_DEF_ErrorResponse_tags_1[] = {
- (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
- };
- static const asn_TYPE_tag2member_t asn_MAP_ErrorResponse_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* errorCode */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* data */
- };
- asn_SEQUENCE_specifics_t asn_SPC_ErrorResponse_specs_1 = {
- sizeof(struct ErrorResponse),
- offsetof(struct ErrorResponse, _asn_ctx),
- asn_MAP_ErrorResponse_tag2el_1,
- 2, /* Count of tags in the map */
- 0, 0, 0, /* Optional elements (not needed) */
- -1, /* First extension addition */
- };
- asn_TYPE_descriptor_t asn_DEF_ErrorResponse = {
- "ErrorResponse",
- "ErrorResponse",
- &asn_OP_SEQUENCE,
- asn_DEF_ErrorResponse_tags_1,
- sizeof(asn_DEF_ErrorResponse_tags_1)
- /sizeof(asn_DEF_ErrorResponse_tags_1[0]), /* 1 */
- asn_DEF_ErrorResponse_tags_1, /* Same as above */
- sizeof(asn_DEF_ErrorResponse_tags_1)
- /sizeof(asn_DEF_ErrorResponse_tags_1[0]), /* 1 */
- { 0, 0, SEQUENCE_constraint },
- asn_MBR_ErrorResponse_1,
- 2, /* Elements count */
- &asn_SPC_ErrorResponse_specs_1 /* Additional specs */
- };
|