Skip to content

Commit

Permalink
exclude a little more from asn1c command
Browse files Browse the repository at this point in the history
  • Loading branch information
bettse committed Jul 29, 2024
1 parent cf3d316 commit ddf8a89
Show file tree
Hide file tree
Showing 39 changed files with 49 additions and 144 deletions.
6 changes: 2 additions & 4 deletions lib/asn1/CardDetails.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "CardDetails.h"
Expand Down Expand Up @@ -45,7 +45,6 @@ asn_TYPE_member_t asn_MBR_CardDetails_1[] = {
"sak"
},
};
static const int asn_MAP_CardDetails_oms_1[] = { 2, 3 };
static const ber_tlv_tag_t asn_DEF_CardDetails_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
Expand All @@ -60,8 +59,7 @@ asn_SEQUENCE_specifics_t asn_SPC_CardDetails_specs_1 = {
offsetof(struct CardDetails, _asn_ctx),
asn_MAP_CardDetails_tag2el_1,
4, /* Count of tags in the map */
asn_MAP_CardDetails_oms_1, /* Optional members */
2, 0, /* Root/Additions */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_CardDetails = {
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/CardDetails.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _CardDetails_H_
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/CardDetected.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "CardDetected.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/CardDetected.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _CardDetected_H_
Expand Down
12 changes: 2 additions & 10 deletions lib/asn1/ContentElementTag.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "ContentElementTag.h"
Expand All @@ -11,14 +11,6 @@
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_ContentElementTag_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_ContentElementTag_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_ContentElementTag_value2enum_1[] = {
{ 4, 32, "implicitFormatPhysicalAccessBits" }
};
Expand Down Expand Up @@ -47,7 +39,7 @@ asn_TYPE_descriptor_t asn_DEF_ContentElementTag = {
asn_DEF_ContentElementTag_tags_1, /* Same as above */
sizeof(asn_DEF_ContentElementTag_tags_1)
/sizeof(asn_DEF_ContentElementTag_tags_1[0]), /* 1 */
{ &asn_OER_type_ContentElementTag_constr_1, &asn_PER_type_ContentElementTag_constr_1, NativeEnumerated_constraint },
{ 0, 0, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_ContentElementTag_specs_1 /* Additional specs */
};
Expand Down
7 changes: 1 addition & 6 deletions lib/asn1/ContentElementTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _ContentElementTag_H_
Expand All @@ -27,7 +27,6 @@ typedef enum ContentElementTag {
typedef long ContentElementTag_t;

/* Implementation */
extern asn_per_constraints_t asn_PER_type_ContentElementTag_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_ContentElementTag;
extern const asn_INTEGER_specifics_t asn_SPC_ContentElementTag_specs_1;
asn_struct_free_f ContentElementTag_free;
Expand All @@ -37,10 +36,6 @@ ber_type_decoder_f ContentElementTag_decode_ber;
der_type_encoder_f ContentElementTag_encode_der;
xer_type_decoder_f ContentElementTag_decode_xer;
xer_type_encoder_f ContentElementTag_encode_xer;
oer_type_decoder_f ContentElementTag_decode_oer;
oer_type_encoder_f ContentElementTag_encode_oer;
per_type_decoder_f ContentElementTag_decode_uper;
per_type_encoder_f ContentElementTag_encode_uper;

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/ErrorResponse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "ErrorResponse.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/ErrorResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _ErrorResponse_H_
Expand Down
12 changes: 2 additions & 10 deletions lib/asn1/FrameProtocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "FrameProtocol.h"
Expand All @@ -11,14 +11,6 @@
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_FrameProtocol_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_type_FrameProtocol_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_FrameProtocol_value2enum_1[] = {
{ 2, 3, "nfc" },
{ 4, 6, "iclass" }
Expand Down Expand Up @@ -49,7 +41,7 @@ asn_TYPE_descriptor_t asn_DEF_FrameProtocol = {
asn_DEF_FrameProtocol_tags_1, /* Same as above */
sizeof(asn_DEF_FrameProtocol_tags_1)
/sizeof(asn_DEF_FrameProtocol_tags_1[0]), /* 1 */
{ &asn_OER_type_FrameProtocol_constr_1, &asn_PER_type_FrameProtocol_constr_1, NativeEnumerated_constraint },
{ 0, 0, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_FrameProtocol_specs_1 /* Additional specs */
};
Expand Down
6 changes: 1 addition & 5 deletions lib/asn1/FrameProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _FrameProtocol_H_
Expand Down Expand Up @@ -36,10 +36,6 @@ ber_type_decoder_f FrameProtocol_decode_ber;
der_type_encoder_f FrameProtocol_encode_der;
xer_type_decoder_f FrameProtocol_decode_xer;
xer_type_encoder_f FrameProtocol_encode_xer;
oer_type_decoder_f FrameProtocol_decode_oer;
oer_type_encoder_f FrameProtocol_encode_oer;
per_type_decoder_f FrameProtocol_decode_uper;
per_type_encoder_f FrameProtocol_encode_uper;

#ifdef __cplusplus
}
Expand Down
12 changes: 2 additions & 10 deletions lib/asn1/NFCCommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "NFCCommand.h"

static asn_oer_constraints_t asn_OER_type_NFCCommand_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_NFCCommand_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_NFCCommand_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct NFCCommand, choice.nfcSend),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
Expand Down Expand Up @@ -57,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_NFCCommand = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_NFCCommand_constr_1, &asn_PER_type_NFCCommand_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_NFCCommand_1,
2, /* Elements count */
&asn_SPC_NFCCommand_specs_1 /* Additional specs */
Expand Down
3 changes: 1 addition & 2 deletions lib/asn1/NFCCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _NFCCommand_H_
Expand Down Expand Up @@ -43,7 +43,6 @@ typedef struct NFCCommand {
extern asn_TYPE_descriptor_t asn_DEF_NFCCommand;
extern asn_CHOICE_specifics_t asn_SPC_NFCCommand_specs_1;
extern asn_TYPE_member_t asn_MBR_NFCCommand_1[2];
extern asn_per_constraints_t asn_PER_type_NFCCommand_constr_1;

#ifdef __cplusplus
}
Expand Down
12 changes: 2 additions & 10 deletions lib/asn1/NFCResponse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "NFCResponse.h"

static asn_oer_constraints_t asn_OER_type_NFCResponse_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_NFCResponse_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_NFCResponse_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct NFCResponse, choice.nfcRx),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
Expand Down Expand Up @@ -57,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_NFCResponse = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_NFCResponse_constr_1, &asn_PER_type_NFCResponse_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_NFCResponse_1,
2, /* Elements count */
&asn_SPC_NFCResponse_specs_1 /* Additional specs */
Expand Down
3 changes: 1 addition & 2 deletions lib/asn1/NFCResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _NFCResponse_H_
Expand Down Expand Up @@ -43,7 +43,6 @@ typedef struct NFCResponse {
extern asn_TYPE_descriptor_t asn_DEF_NFCResponse;
extern asn_CHOICE_specifics_t asn_SPC_NFCResponse_specs_1;
extern asn_TYPE_member_t asn_MBR_NFCResponse_1[2];
extern asn_per_constraints_t asn_PER_type_NFCResponse_constr_1;

#ifdef __cplusplus
}
Expand Down
6 changes: 2 additions & 4 deletions lib/asn1/NFCRx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "NFCRx.h"
Expand All @@ -27,7 +27,6 @@ asn_TYPE_member_t asn_MBR_NFCRx_1[] = {
"rfStatus"
},
};
static const int asn_MAP_NFCRx_oms_1[] = { 0 };
static const ber_tlv_tag_t asn_DEF_NFCRx_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
Expand All @@ -40,8 +39,7 @@ asn_SEQUENCE_specifics_t asn_SPC_NFCRx_specs_1 = {
offsetof(struct NFCRx, _asn_ctx),
asn_MAP_NFCRx_tag2el_1,
2, /* Count of tags in the map */
asn_MAP_NFCRx_oms_1, /* Optional members */
1, 0, /* Root/Additions */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_NFCRx = {
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/NFCRx.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _NFCRx_H_
Expand Down
6 changes: 2 additions & 4 deletions lib/asn1/NFCSend.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "NFCSend.h"
Expand Down Expand Up @@ -45,7 +45,6 @@ asn_TYPE_member_t asn_MBR_NFCSend_1[] = {
"format"
},
};
static const int asn_MAP_NFCSend_oms_1[] = { 3 };
static const ber_tlv_tag_t asn_DEF_NFCSend_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
Expand All @@ -60,8 +59,7 @@ asn_SEQUENCE_specifics_t asn_SPC_NFCSend_specs_1 = {
offsetof(struct NFCSend, _asn_ctx),
asn_MAP_NFCSend_tag2el_1,
4, /* Count of tags in the map */
asn_MAP_NFCSend_oms_1, /* Optional members */
1, 0, /* Root/Additions */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_NFCSend = {
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/NFCSend.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _NFCSend_H_
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/NoArguments.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "NoArguments.h"
Expand Down
6 changes: 1 addition & 5 deletions lib/asn1/NoArguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#ifndef _NoArguments_H_
Expand Down Expand Up @@ -30,10 +30,6 @@ ber_type_decoder_f NoArguments_decode_ber;
der_type_encoder_f NoArguments_encode_der;
xer_type_decoder_f NoArguments_decode_xer;
xer_type_encoder_f NoArguments_encode_xer;
oer_type_decoder_f NoArguments_decode_oer;
oer_type_encoder_f NoArguments_encode_oer;
per_type_decoder_f NoArguments_decode_uper;
per_type_encoder_f NoArguments_encode_uper;

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/PAC.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/

#include "PAC.h"
Expand Down
Loading

0 comments on commit ddf8a89

Please sign in to comment.