mirror of
https://github.com/bettse/seader.git
synced 2026-04-26 19:35:18 +00:00
57 lines
1.2 KiB
C
57 lines
1.2 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 _SamCommand_H_
|
|
#define _SamCommand_H_
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include "RequestPacs.h"
|
|
#include <NULL.h>
|
|
#include "CardDetected.h"
|
|
#include <constr_CHOICE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum SamCommand_PR {
|
|
SamCommand_PR_NOTHING, /* No components present */
|
|
SamCommand_PR_requestPacs,
|
|
SamCommand_PR_version,
|
|
SamCommand_PR_cardDetected
|
|
} SamCommand_PR;
|
|
|
|
/* SamCommand */
|
|
typedef struct SamCommand {
|
|
SamCommand_PR present;
|
|
union SamCommand_u {
|
|
RequestPacs_t requestPacs;
|
|
NULL_t version;
|
|
CardDetected_t cardDetected;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} SamCommand_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_SamCommand;
|
|
extern asn_CHOICE_specifics_t asn_SPC_SamCommand_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_SamCommand_1[3];
|
|
extern asn_per_constraints_t asn_PER_type_SamCommand_constr_1;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _SamCommand_H_ */
|
|
#include <asn_internal.h>
|