Payload.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. #ifndef _Payload_H_
  8. #define _Payload_H_
  9. #include <asn_application.h>
  10. /* Including external dependencies */
  11. #include "SamCommand.h"
  12. #include "NFCCommand.h"
  13. #include "Response.h"
  14. #include "ErrorResponse.h"
  15. #include <constr_CHOICE.h>
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /* Dependencies */
  20. typedef enum Payload_PR {
  21. Payload_PR_NOTHING, /* No components present */
  22. Payload_PR_samCommand,
  23. Payload_PR_nfcCommand,
  24. Payload_PR_response,
  25. Payload_PR_errorResponse
  26. } Payload_PR;
  27. /* Payload */
  28. typedef struct Payload {
  29. Payload_PR present;
  30. union Payload_u {
  31. SamCommand_t samCommand;
  32. NFCCommand_t nfcCommand;
  33. Response_t response;
  34. ErrorResponse_t errorResponse;
  35. } choice;
  36. /* Context for parsing across buffer boundaries */
  37. asn_struct_ctx_t _asn_ctx;
  38. } Payload_t;
  39. /* Implementation */
  40. extern asn_TYPE_descriptor_t asn_DEF_Payload;
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /* _Payload_H_ */
  45. #include <asn_internal.h>