:orphan: .. index:: pair: struct; checked_arg .. _doxid-structchecked__arg: struct checked_arg ================== .. toctree:: :hidden: Overview ~~~~~~~~ Structure for checking of variable-length arguments safety Structure for checking of variable-length arguments safity :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct checked_arg { // fields uint8_t* :ref:`real_arg`; uint8_t* :ref:`pristine`; size_t :ref:`len`; size_t :ref:`len_visible`; char* :ref:`name`; struct checked_arg* :ref:`next`; char* :ref:`real_arg`; char* :ref:`control`; int :ref:`len`; int :ref:`len_visible`; // methods :ref:`STAILQ_ENTRY`(checked_arg); }; .. _details-structchecked__arg: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Structure for checking of variable-length arguments safety Structure for checking of variable-length arguments safity Fields ------ .. index:: pair: variable; real_arg .. _doxid-structchecked__arg_1a8726b81777d3a8a84364e8c2be780c88: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t* real_arg Pointer to real buffer .. index:: pair: variable; pristine .. _doxid-structchecked__arg_1a8bd719befacd90e62e3a1ca4cb85b1fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t* pristine Pointer to pristine buffer .. index:: pair: variable; len .. _doxid-structchecked__arg_1ac433af114773082f2e71c2bf846276a4: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t len Whole length of the buffer .. index:: pair: variable; len_visible .. _doxid-structchecked__arg_1ad1a245bae41189b0bb16489fed6376db: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t len_visible Length passed to the function under test .. index:: pair: variable; name .. _doxid-structchecked__arg_1a886588b2f09d5c6e20c3f8ba43b71304: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* name Argument name to be displayed in error message .. index:: pair: variable; next .. _doxid-structchecked__arg_1a66c5044156893cbf8b8ffa513f1d502c: .. ref-code-block:: cpp :class: doxyrest-title-code-block struct checked_arg* next Next checked argument in the list .. index:: pair: variable; real_arg .. _doxid-structchecked__arg_1a4d3ebe4f7e5f9b1c1984d5c30667daed: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* real_arg Pointer to real buffer .. index:: pair: variable; control .. _doxid-structchecked__arg_1a2d03b3da100e09e5c516fa7f2794cfa0: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* control Pointer to control buffer .. index:: pair: variable; len .. _doxid-structchecked__arg_1a41063d398041de86728d880887010f28: .. ref-code-block:: cpp :class: doxyrest-title-code-block int len Whole length of the buffer .. index:: pair: variable; len_visible .. _doxid-structchecked__arg_1aa5216b490eda4048a3cda2e8e42da79c: .. ref-code-block:: cpp :class: doxyrest-title-code-block int len_visible Length passed to the function under test Methods ------- .. index:: pair: function; STAILQ_ENTRY .. _doxid-structchecked__arg_1a225ffdfae418f624e81b72edc09ce459: .. ref-code-block:: cpp :class: doxyrest-title-code-block STAILQ_ENTRY(checked_arg) Next checked argument in the list