:orphan: .. index:: pair: struct; iscsi_target_param_descr_t .. _doxid-structiscsi__target__param__descr__t: struct iscsi_target_param_descr_t ================================= .. toctree:: :hidden: Overview ~~~~~~~~ Generic parameter description for :ref:`iscsi_write_param() ` :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct iscsi_target_param_descr_t { // fields uint32_t :ref:`offer`; char* :ref:`name`; bool :ref:`is_string`; enum :ref:`iscsi_target_param_kind_t` :ref:`kind`; int :ref:`offset`; :ref:`iscsi_param_formatter_t` :ref:`formatter`; :ref:`iscsi_param_predicate_t` :ref:`predicate`; }; .. _details-structiscsi__target__param__descr__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Generic parameter description for :ref:`iscsi_write_param() ` Fields ------ .. index:: pair: variable; offer .. _doxid-structiscsi__target__param__descr__t_1a541e3ecb049c3d2c139c61f85056097f: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t offer OFFER_XXX mask .. index:: pair: variable; name .. _doxid-structiscsi__target__param__descr__t_1ad89c33dcfe2d0ed47b0a790f82843d86: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* name Parameter name .. index:: pair: variable; is_string .. _doxid-structiscsi__target__param__descr__t_1a5329d694be229320612ef3622c97cf92: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool is_string ``true`` if the corresponding field is ``char *``, ``false`` if it is ``int`` .. index:: pair: variable; kind .. _doxid-structiscsi__target__param__descr__t_1afbec30dae57d92eba482b2be24159f22: .. ref-code-block:: cpp :class: doxyrest-title-code-block enum :ref:`iscsi_target_param_kind_t` kind Parameter type. It is used to choose one of data structures to take a field from .. index:: pair: variable; offset .. _doxid-structiscsi__target__param__descr__t_1aff5c959b715a0fba48b4dba4e8ecceb1: .. ref-code-block:: cpp :class: doxyrest-title-code-block int offset Field offset .. index:: pair: variable; formatter .. _doxid-structiscsi__target__param__descr__t_1aeedbe53cb0dc2818581d3bae4697a5e3: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_param_formatter_t` formatter Converter function from the raw field value to text representation (may be NULL) .. index:: pair: variable; predicate .. _doxid-structiscsi__target__param__descr__t_1ab7fb89109480e788b66db5f542ddf62e: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_param_predicate_t` predicate Predicate function to determine if a given parameter really needs to be configured depending on other parameters. ``NULL`` == always ``true``