:orphan:

.. index:: pair: struct; msg_arg
.. _doxid-structmsg__arg:

struct msg_arg
==============

.. toctree::
	:hidden:

Overview
~~~~~~~~

Structure that represents argument in its raw representation There must be some more information given to determine which type of data it consists of. :ref:`More...<details-structmsg__arg>`


.. ref-code-block:: cpp
	:class: doxyrest-overview-code-block

	#include <rgt_common.h>
	
	struct msg_arg {
		// fields
	
		struct msg_arg* :ref:`next<doxid-structmsg__arg_1ab07c3ae6697fc49577e41e3241569121>`;
		uint8_t* :ref:`val<doxid-structmsg__arg_1a1424ad59ea0f19afa1be15df18e7292c>`;
		int :ref:`len<doxid-structmsg__arg_1afdecd7fe27b44e57aae3f491d3f340dc>`;
	};
.. _details-structmsg__arg:

Detailed Documentation
~~~~~~~~~~~~~~~~~~~~~~

Structure that represents argument in its raw representation There must be some more information given to determine which type of data it consists of. (This information can be obtained form format string)

Fields
------

.. index:: pair: variable; next
.. _doxid-structmsg__arg_1ab07c3ae6697fc49577e41e3241569121:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	struct msg_arg* next

Pointer to the next argument

.. index:: pair: variable; val
.. _doxid-structmsg__arg_1a1424ad59ea0f19afa1be15df18e7292c:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	uint8_t* val

Pointer to raw argument content (numbers are keeped in network byte order)

.. index:: pair: variable; len
.. _doxid-structmsg__arg_1afdecd7fe27b44e57aae3f491d3f340dc:

.. ref-code-block:: cpp
	:class: doxyrest-title-code-block

	int len

Number of bytes allocated for the argument