:orphan: .. index:: pair: struct; tapi_file_chunk_spec .. _doxid-structtapi__file__chunk__spec: struct tapi_file_chunk_spec =========================== .. toctree:: :hidden: Overview ~~~~~~~~ A description of a chunk for :ref:`tapi_file_create_by_spec_ta() `. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_file_chunk_spec { // fields :ref:`tapi_file_chunk_spec_kind` :ref:`kind`; size_t :ref:`minlen`; size_t :ref:`maxlen`; const char* :ref:`spec`; const struct tapi_file_chunk_spec* :ref:`nested`; union tapi_file_chunk_spec::@54 :target:`u`; }; .. _details-structtapi__file__chunk__spec: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A description of a chunk for :ref:`tapi_file_create_by_spec_ta() `. When a list of :ref:`tapi_file_chunk_spec ` is passed to :ref:`tapi_file_create_by_spec_ta() `, the last item must have *kind* set to :ref:`TAPI_FILE_CHUNK_SPEC_KIND_END `. Fields ------ .. index:: pair: variable; kind .. _doxid-structtapi__file__chunk__spec_1aad105357b70ddf7048364b5b2588c248: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_file_chunk_spec_kind` kind The kind of the chunk. .. index:: pair: variable; minlen .. _doxid-structtapi__file__chunk__spec_1a307ebff41519b046009041c20a06f2d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t minlen Minimum length of a generated chunk. .. index:: pair: variable; maxlen .. _doxid-structtapi__file__chunk__spec_1a02377087c07387c690d84b47bddfe595: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t maxlen Maximum length of a generated chunk. .. index:: pair: variable; spec .. _doxid-structtapi__file__chunk__spec_1ab503954095c1e71f68fb1eae4b83b3ac: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* spec The chunk specification, either a literal string or a pattern as in :ref:`te_compile_buf_pattern() `. .. index:: pair: variable; nested .. _doxid-structtapi__file__chunk__spec_1a2bb4106af07c1268c19a81664c4080f7: .. ref-code-block:: cpp :class: doxyrest-title-code-block const struct tapi_file_chunk_spec* nested The list of sub-chunks, must be terminated by :ref:`TAPI_FILE_CHUNK_SPEC_KIND_END `.