Response.c 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  3. * From ASN.1 module "Seader"
  4. * found in "seader.asn1"
  5. * `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
  6. */
  7. #include "Response.h"
  8. asn_TYPE_member_t asn_MBR_Response_1[] = {
  9. { ATF_NOFLAGS, 0, offsetof(struct Response, choice.nfcResponse),
  10. (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
  11. +1, /* EXPLICIT tag at current level */
  12. &asn_DEF_NFCResponse,
  13. 0,
  14. { 0, 0, 0 },
  15. 0, 0, /* No default value */
  16. "nfcResponse"
  17. },
  18. { ATF_NOFLAGS, 0, offsetof(struct Response, choice.samResponse),
  19. (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
  20. -1, /* IMPLICIT tag at current level */
  21. &asn_DEF_SamResponse,
  22. 0,
  23. { 0, 0, 0 },
  24. 0, 0, /* No default value */
  25. "samResponse"
  26. },
  27. };
  28. static const asn_TYPE_tag2member_t asn_MAP_Response_tag2el_1[] = {
  29. { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nfcResponse */
  30. { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 1, 0, 0 } /* samResponse */
  31. };
  32. asn_CHOICE_specifics_t asn_SPC_Response_specs_1 = {
  33. sizeof(struct Response),
  34. offsetof(struct Response, _asn_ctx),
  35. offsetof(struct Response, present),
  36. sizeof(((struct Response *)0)->present),
  37. asn_MAP_Response_tag2el_1,
  38. 2, /* Count of tags in the map */
  39. 0, 0,
  40. -1 /* Extensions start */
  41. };
  42. asn_TYPE_descriptor_t asn_DEF_Response = {
  43. "Response",
  44. "Response",
  45. &asn_OP_CHOICE,
  46. 0, /* No effective tags (pointer) */
  47. 0, /* No effective tags (count) */
  48. 0, /* No tags (pointer) */
  49. 0, /* No tags (count) */
  50. { 0, 0, CHOICE_constraint },
  51. asn_MBR_Response_1,
  52. 2, /* Elements count */
  53. &asn_SPC_Response_specs_1 /* Additional specs */
  54. };