Files
seader/lib/asn1/SamCommand.h
T
CinderSocket 132dc1860a feat: optimize ASN.1 memory usage and implement zero-copy transmission
- Strip unused XER, PER, and OER codec support via persistent skeleton gating.
- Refactor high-frequency ASN.1 logic to use stack allocation.
- Implement zero-copy transmission path using 32-byte header offset in UART TX buffer.
- Correct CCID header initialization and DER encoding buffer size calculation.
- Add ASN_DISABLE_* macros to application.fam for consistent gating across builds.
2026-03-03 12:44:41 -08:00

68 lines
1.5 KiB
C

/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "Seader"
* found in "seader.asn1"
* `asn1c -S ./lib/asn1/skeletons -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -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 <OCTET_STRING.h>
#include "NoArguments.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_processSNMPMessage,
SamCommand_PR_serialNumber,
SamCommand_PR_getItemKCV,
SamCommand_PR_requestPacs2,
SamCommand_PR_processConfigCard
} SamCommand_PR;
/* SamCommand */
typedef struct SamCommand {
SamCommand_PR present;
union SamCommand_u {
RequestPacs_t requestPacs;
NULL_t version;
CardDetected_t cardDetected;
OCTET_STRING_t processSNMPMessage;
NoArguments_t serialNumber;
OCTET_STRING_t getItemKCV;
RequestPacs_t requestPacs2;
NoArguments_t processConfigCard;
} 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[8];
#ifdef __cplusplus
}
#endif
#endif /* _SamCommand_H_ */
#include <asn_internal.h>