Response.c 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 -pdu=all`
  6. */
  7. #include "Response.h"
  8. static asn_oer_constraints_t asn_OER_type_Response_constr_1 CC_NOTUSED = {
  9. { 0, 0 },
  10. -1};
  11. asn_per_constraints_t asn_PER_type_Response_constr_1 CC_NOTUSED = {
  12. { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
  13. { APC_UNCONSTRAINED, -1, -1, 0, 0 },
  14. 0, 0 /* No PER value map */
  15. };
  16. asn_TYPE_member_t asn_MBR_Response_1[] = {
  17. { ATF_NOFLAGS, 0, offsetof(struct Response, choice.nfcResponse),
  18. (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
  19. +1, /* EXPLICIT tag at current level */
  20. &asn_DEF_NFCResponse,
  21. 0,
  22. { 0, 0, 0 },
  23. 0, 0, /* No default value */
  24. "nfcResponse"
  25. },
  26. { ATF_NOFLAGS, 0, offsetof(struct Response, choice.samResponse),
  27. (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
  28. -1, /* IMPLICIT tag at current level */
  29. &asn_DEF_SamResponse,
  30. 0,
  31. { 0, 0, 0 },
  32. 0, 0, /* No default value */
  33. "samResponse"
  34. },
  35. };
  36. static const asn_TYPE_tag2member_t asn_MAP_Response_tag2el_1[] = {
  37. { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nfcResponse */
  38. { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 1, 0, 0 } /* samResponse */
  39. };
  40. asn_CHOICE_specifics_t asn_SPC_Response_specs_1 = {
  41. sizeof(struct Response),
  42. offsetof(struct Response, _asn_ctx),
  43. offsetof(struct Response, present),
  44. sizeof(((struct Response *)0)->present),
  45. asn_MAP_Response_tag2el_1,
  46. 2, /* Count of tags in the map */
  47. 0, 0,
  48. -1 /* Extensions start */
  49. };
  50. asn_TYPE_descriptor_t asn_DEF_Response = {
  51. "Response",
  52. "Response",
  53. &asn_OP_CHOICE,
  54. 0, /* No effective tags (pointer) */
  55. 0, /* No effective tags (count) */
  56. 0, /* No tags (pointer) */
  57. 0, /* No tags (count) */
  58. { &asn_OER_type_Response_constr_1, &asn_PER_type_Response_constr_1, CHOICE_constraint },
  59. asn_MBR_Response_1,
  60. 2, /* Elements count */
  61. &asn_SPC_Response_specs_1 /* Additional specs */
  62. };