enum tapi_file_chunk_spec_kind
Overview
The kind of a chunk in tapi_file_chunk_spec. More…
#include <tapi_file.h> enum tapi_file_chunk_spec_kind { TAPI_FILE_CHUNK_SPEC_KIND_END, TAPI_FILE_CHUNK_SPEC_KIND_LITERAL, TAPI_FILE_CHUNK_SPEC_KIND_PATTERN, TAPI_FILE_CHUNK_SPEC_KIND_COMPOUND, };
Detailed Documentation
The kind of a chunk in tapi_file_chunk_spec.
Enum Values
TAPI_FILE_CHUNK_SPEC_KIND_END
The last chunk in the list.
TAPI_FILE_CHUNK_SPEC_KIND_LITERAL
The literal chunk: spec is treated as a literal sequence of characters.
If maxlen is not zero, it is treated as the size of the string, otherwise spec must be zero-terminated.
minlen may be used to specify the length of the chunk (see fitlen
of te_file_write_string() for the exact semantics).
TAPI_FILE_CHUNK_SPEC_KIND_PATTERN
The simple pattern chunk: spec is treated as a block pattern as in te_compile_buf_pattern().
minlen and maxlen are used to determine the length of the generated block as in te_make_spec_buf().
TAPI_FILE_CHUNK_SPEC_KIND_COMPOUND
The compound chunk: nested is a list of sub-chunks terminated by a TAPI_FILE_CHUNK_SPEC_KIND_END.
minlen and maxlen are used to determine the number of times the list of sub-chunks is reused.