mirror of
https://github.com/bettse/seader.git
synced 2026-06-06 17:42:11 +00:00
54 lines
1.1 KiB
C
54 lines
1.1 KiB
C
/*
|
|
* 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`
|
|
*/
|
|
|
|
#ifndef _Response_H_
|
|
#define _Response_H_
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include "NFCResponse.h"
|
|
#include "SamResponse.h"
|
|
#include <constr_CHOICE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum Response_PR {
|
|
Response_PR_NOTHING, /* No components present */
|
|
Response_PR_nfcResponse,
|
|
Response_PR_samResponse
|
|
} Response_PR;
|
|
|
|
/* Response */
|
|
typedef struct Response {
|
|
Response_PR present;
|
|
union Response_u {
|
|
NFCResponse_t nfcResponse;
|
|
SamResponse_t samResponse;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Response_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_Response;
|
|
extern asn_CHOICE_specifics_t asn_SPC_Response_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_Response_1[2];
|
|
extern asn_per_constraints_t asn_PER_type_Response_constr_1;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _Response_H_ */
|
|
#include <asn_internal.h>
|