Commit f573ebbd authored by Lev Walkin's avatar Lev Walkin

CODEC-OER for OER file dependencies

parent a2abcaab
...@@ -104,6 +104,9 @@ asn1c_read_file_dependencies(arg_t *arg, const char *datadir) { ...@@ -104,6 +104,9 @@ asn1c_read_file_dependencies(arg_t *arg, const char *datadir) {
special_section = FDEP_COMMON_FILES; special_section = FDEP_COMMON_FILES;
} else if(strcmp(p, "CONVERTER:") == 0) { } else if(strcmp(p, "CONVERTER:") == 0) {
special_section = FDEP_CONVERTER; special_section = FDEP_CONVERTER;
} else if((arg->flags & A1C_GEN_OER)
&& strcmp(p, "CODEC-OER:") == 0) {
special_section = FDEP_CODEC_OER;
} else if((arg->flags & A1C_GEN_PER) } else if((arg->flags & A1C_GEN_PER)
&& strcmp(p, "CODEC-PER:") == 0) { && strcmp(p, "CODEC-PER:") == 0) {
special_section = FDEP_CODEC_PER; special_section = FDEP_CODEC_PER;
......
...@@ -10,7 +10,8 @@ typedef struct asn1c_fdeps_s { ...@@ -10,7 +10,8 @@ typedef struct asn1c_fdeps_s {
FDEP_REFERRED = 1, /* Dynamic list of dependencies */ FDEP_REFERRED = 1, /* Dynamic list of dependencies */
FDEP_CONVERTER = 2, /* Name of the int main() file */ FDEP_CONVERTER = 2, /* Name of the int main() file */
FDEP_COMMON_FILES = 3, /* Section for mandatory dependencies */ FDEP_COMMON_FILES = 3, /* Section for mandatory dependencies */
FDEP_CODEC_PER = 4, /* Use contents only if -gen-PER */ FDEP_CODEC_OER = 4, /* Use contents only if -gen-OER */
FDEP_CODEC_PER = 8, /* Use contents only if -gen-PER */
} usage; /* Some file refers to it */ } usage; /* Some file refers to it */
struct asn1c_fdeps_s **elements; struct asn1c_fdeps_s **elements;
......
...@@ -37,7 +37,7 @@ asn_SEQUENCE_OF.h asn_SEQUENCE_OF.c asn_SET_OF.h ...@@ -37,7 +37,7 @@ asn_SEQUENCE_OF.h asn_SEQUENCE_OF.c asn_SET_OF.h
asn_SET_OF.h asn_SET_OF.c asn_SET_OF.h asn_SET_OF.c
constr_CHOICE.h constr_CHOICE.c constr_CHOICE.h constr_CHOICE.c
constr_SEQUENCE.h constr_SEQUENCE.c constr_SEQUENCE.h constr_SEQUENCE.c
constr_SEQUENCE_OF.h constr_SEQUENCE_OF.c asn_SEQUENCE_OF.h constr_SET_OF.h constr_SEQUENCE_OF.h constr_SEQUENCE_OF.c constr_SEQUENCE_oer.h asn_SEQUENCE_OF.h constr_SET_OF.h
constr_SET.h constr_SET.c constr_SET.h constr_SET.c
constr_SET_OF.h constr_SET_OF.c asn_SET_OF.h constr_SET_OF.h constr_SET_OF.c asn_SET_OF.h
...@@ -58,6 +58,9 @@ constraints.h constraints.c # Subtype constraints support ...@@ -58,6 +58,9 @@ constraints.h constraints.c # Subtype constraints support
xer_support.h xer_support.c # XML parsing xer_support.h xer_support.c # XML parsing
xer_decoder.h xer_decoder.c # XER decoding support xer_decoder.h xer_decoder.c # XER decoding support
xer_encoder.h xer_encoder.c # XER encoding support xer_encoder.h xer_encoder.c # XER encoding support
oer_decoder.h oer_decoder.c # OER decoding support
oer_encoder.h oer_encoder.c # OER encoding support
oer_support.h oer_support.c # OER support
per_support.h per_support.c # PER parsing per_support.h per_support.c # PER parsing
per_decoder.h per_decoder.c # PER decoding support per_decoder.h per_decoder.c # PER decoding support
per_encoder.h per_encoder.c # PER encoding support per_encoder.h per_encoder.c # PER encoding support
...@@ -66,4 +69,7 @@ per_opentype.h per_opentype.c # PER "open type" handling ...@@ -66,4 +69,7 @@ per_opentype.h per_opentype.c # PER "open type" handling
CONVERTER: # THIS IS A SPECIAL SECTION CONVERTER: # THIS IS A SPECIAL SECTION
converter-sample.c # A default name for sample transcoder converter-sample.c # A default name for sample transcoder
CODEC-OER: # THIS IS A SPECIAL SECTION
constr_SEQUENCE_oer.h constr_SEQUENCE_oer.c
CODEC-PER: # THIS IS A SPECIAL SECTION CODEC-PER: # THIS IS A SPECIAL SECTION
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment