<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>marshaling and unmarshaling</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.15 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>marshaling and unmarshaling<br> <small> [<a class="el" href="group__DBusInternals.html">D-BUS internal implementation details</a>]</small> </h1>functions to marshal/unmarshal data from the wire. <a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Data Structures</h2></td></tr> <tr><td nowrap align=right valign=top>union </td><td valign=bottom><a class="el" href="unionDBusOctets8.html">DBusOctets8</a></td></tr> <tr><td> </td><td><font size=-1><em>Union used to manipulate 8 bytes as if they were various types.</em> <a href="unionDBusOctets8.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a71" doxytag="DBusMarshal::VERBOSE_DECOMPOSE"></a> #define </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a71">VERBOSE_DECOMPOSE</a> 0</td></tr> <tr><td> </td><td><font size=-1><em>Set to 1 to get a bunch of spew about disassembling the path string.</em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a2">_dbus_unpack_uint32</a> (int byte_order, const unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Unpacks a 32 bit unsigned integer from a data pointer.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a3">_dbus_unpack_int32</a> (int byte_order, const unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Unpacks a 32 bit signed integer from a data pointer.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a4">_dbus_unpack_uint64</a> (int byte_order, const unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Unpacks a 64 bit unsigned integer from a data pointer.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a5">_dbus_unpack_int64</a> (int byte_order, const unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Unpacks a 64 bit signed integer from a data pointer.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a8">_dbus_pack_uint32</a> (<a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> value, int byte_order, unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Packs a 32 bit unsigned integer into a data pointer.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a9">_dbus_pack_int32</a> (<a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> value, int byte_order, unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Packs a 32 bit signed integer into a data pointer.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a10">_dbus_pack_uint64</a> (<a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> value, int byte_order, unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Packs a 64 bit unsigned integer into a data pointer.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a11">_dbus_pack_int64</a> (<a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> value, int byte_order, unsigned char *data)</td></tr> <tr><td> </td><td><font size=-1><em>Packs a 64 bit signed integer into a data pointer.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a14">_dbus_marshal_set_int32</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the 4 bytes at the given offset to a marshaled signed integer, replacing anything found there previously.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a15">_dbus_marshal_set_uint32</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the 4 bytes at the given offset to a marshaled unsigned integer, replacing anything found there previously.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a16">_dbus_marshal_set_int64</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the 8 bytes at the given offset to a marshaled signed integer, replacing anything found there previously.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a17">_dbus_marshal_set_uint64</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the 8 bytes at the given offset to a marshaled unsigned integer, replacing anything found there previously.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a18">_dbus_marshal_set_string</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, const <a class="el" href="structDBusString.html">DBusString</a> *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the existing marshaled string at the given offset with a new marshaled string.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a19">_dbus_marshal_set_object_path</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int offset, const char **path, int path_len)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the existing marshaled object path at the given offset to a new value.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a22">_dbus_marshal_double</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, double value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a double value.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a23">_dbus_marshal_int32</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 32 bit signed integer value.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a24">_dbus_marshal_uint32</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 32 bit unsigned integer value.</em> <a href="#a24">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a25">_dbus_marshal_int64</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 64 bit signed integer value.</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a26">_dbus_marshal_uint64</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 64 bit unsigned integer value.</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a27">_dbus_marshal_string</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const char *value)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a UTF-8 string.</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a28">_dbus_marshal_string_len</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const char *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a UTF-8 string.</em> <a href="#a28">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a29">_dbus_marshal_byte_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const unsigned char *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a byte array.</em> <a href="#a29">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a32">_dbus_marshal_int32_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 32 bit signed integer array.</em> <a href="#a32">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a33">_dbus_marshal_uint32_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 32 bit unsigned integer array.</em> <a href="#a33">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a34">_dbus_marshal_int64_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 64 bit signed integer array.</em> <a href="#a34">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a35">_dbus_marshal_uint64_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a 64 bit unsigned integer array.</em> <a href="#a35">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a36">_dbus_marshal_double_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const double *value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a double array.</em> <a href="#a36">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a37">_dbus_marshal_string_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const char **value, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a string array.</em> <a href="#a37">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a38">_dbus_marshal_object_path</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, const char **path, int path_len)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals an object path value.</em> <a href="#a38">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a41">_dbus_demarshal_double</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a double.</em> <a href="#a41">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a42">_dbus_demarshal_int32</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 32 bit signed integer.</em> <a href="#a42">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a43">_dbus_demarshal_uint32</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 32 bit unsigned integer.</em> <a href="#a43">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a44">_dbus_demarshal_int64</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 64 bit signed integer.</em> <a href="#a44">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a45">_dbus_demarshal_uint64</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 64 bit unsigned integer.</em> <a href="#a45">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a46">_dbus_demarshal_basic_type</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int type, void *value, int byte_order, int *pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a basic type.</em> <a href="#a46">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a47">_dbus_demarshal_string</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals an UTF-8 string.</em> <a href="#a47">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a48">_dbus_demarshal_byte_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, unsigned char **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a byte array.</em> <a href="#a48">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a51">_dbus_demarshal_int32_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 32 bit signed integer array.</em> <a href="#a51">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a52">_dbus_demarshal_uint32_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 32 bit unsigned integer array.</em> <a href="#a52">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a53">_dbus_demarshal_int64_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 64 bit signed integer array.</em> <a href="#a53">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a54">_dbus_demarshal_uint64_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a 64 bit unsigned integer array.</em> <a href="#a54">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a55">_dbus_demarshal_double_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, double **array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a double array.</em> <a href="#a55">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a56">_dbus_demarshal_basic_type_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int element_type, void **array, int *array_len, int byte_order, int *pos)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals an array of basic types.</em> <a href="#a56">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a57">_dbus_demarshal_string_array</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, char ***array, int *array_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals a string array.</em> <a href="#a57">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a58">_dbus_decompose_path</a> (const char *data, int len, char ***path, int *path_len)</td></tr> <tr><td> </td><td><font size=-1><em>Decompose an object path.</em> <a href="#a58">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a59">_dbus_demarshal_object_path</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int pos, int *new_pos, char ***path, int *path_len)</td></tr> <tr><td> </td><td><font size=-1><em>Demarshals an object path.</em> <a href="#a59">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a60">_dbus_marshal_get_arg_end_pos</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int type, int pos, int *end_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Returns the position right after the end of an argument.</em> <a href="#a60">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a63">_dbus_marshal_validate_type</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int pos, int *type, int *end_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Validates and returns a typecode at a specific position in the message.</em> <a href="#a63">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a65">_dbus_marshal_validate_arg</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int byte_order, int depth, int type, int array_type_pos, int pos, int *end_pos)</td></tr> <tr><td> </td><td><font size=-1><em>Validates an argument of a specific type, checking that it is well-formed, for example no ludicrous length fields, strings are nul-terminated, etc.</em> <a href="#a65">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a66">_dbus_type_is_valid</a> (int typecode)</td></tr> <tr><td> </td><td><font size=-1><em>Return <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if the typecode is a valid typecode.</em> <a href="#a66">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a67">_dbus_verbose_bytes</a> (const unsigned char *data, int len)</td></tr> <tr><td> </td><td><font size=-1><em>If in verbose mode, print a block of binary data.</em> <a href="#a67">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a68">_dbus_verbose_bytes_of_string</a> (const <a class="el" href="structDBusString.html">DBusString</a> *str, int start, int len)</td></tr> <tr><td> </td><td><font size=-1><em>Dump the given part of the string to verbose log.</em> <a href="#a68">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a69">_dbus_marshal_basic_type</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, char type, void *value, int byte_order)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a basic type.</em> <a href="#a69">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> </td><td valign=bottom><a class="el" href="group__DBusMarshal.html#a70">_dbus_marshal_basic_type_array</a> (<a class="el" href="structDBusString.html">DBusString</a> *str, char element_type, const void *value, int len, int byte_order)</td></tr> <tr><td> </td><td><font size=-1><em>Marshals a basic type array.</em> <a href="#a70">More...</a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> functions to marshal/unmarshal data from the wire. <p> <p> Types and functions related to converting primitive data types from wire format to native machine format, and vice versa. <hr><h2>Function Documentation</h2> <a name="a58" doxytag="dbus-marshal.c::_dbus_decompose_path"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_decompose_path </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>char *** </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>path_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Decompose an object path. <p> A path of just "/" is represented as an empty vector of strings.<dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>data</em> </td><td> the path data </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the path string </td></tr> <tr><td valign=top><em>path</em> </td><td> address to store new object path </td></tr> <tr><td valign=top><em>path_len</em> </td><td> length of stored path </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01636">1636</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a46" doxytag="dbus-marshal.c::_dbus_demarshal_basic_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_demarshal_basic_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a basic type. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>type</em> </td><td> type of value to demarshal </td></tr> <tr><td valign=top><em>value</em> </td><td> pointer to return value data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> pointer to position in the string, updated on return to new position </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01121">1121</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a56" doxytag="dbus-marshal.c::_dbus_demarshal_basic_type_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_basic_type_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>element_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals an array of basic types. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>element_type</em> </td><td> type of array elements to demarshal </td></tr> <tr><td valign=top><em>array</em> </td><td> pointer to pointer to array data </td></tr> <tr><td valign=top><em>array_len</em> </td><td> pointer to array length </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> pointer to position in the string, updated on return to new position </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01503">1503</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a48" doxytag="dbus-marshal.c::_dbus_demarshal_byte_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_byte_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned char ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a byte array. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000027">Todo: </a></b><dd> Should probably demarshal to a <a class="el" href="structDBusString.html">DBusString</a>, having memcpy() in here is Evil(tm).</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data</td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01227">1227</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a41" doxytag="dbus-marshal.c::_dbus_demarshal_double"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double _dbus_demarshal_double </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a double. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled double. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01014">1014</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00086">DBusOctets8::d</a>. </td> </tr> </table> <a name="a55" doxytag="dbus-marshal.c::_dbus_demarshal_double_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_double_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a double array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01479">1479</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a42" doxytag="dbus-marshal.c::_dbus_demarshal_int32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> _dbus_demarshal_int32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 32 bit signed integer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled integer. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01036">1036</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a51" doxytag="dbus-marshal.c::_dbus_demarshal_int32_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_int32_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 32 bit signed integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01383">1383</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a44" doxytag="dbus-marshal.c::_dbus_demarshal_int64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> _dbus_demarshal_int64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 64 bit signed integer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled integer. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01074">1074</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00083">DBusOctets8::s</a>. </td> </tr> </table> <a name="a53" doxytag="dbus-marshal.c::_dbus_demarshal_int64_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_int64_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 64 bit signed integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01431">1431</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a59" doxytag="dbus-marshal.c::_dbus_demarshal_object_path"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_object_path </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>char *** </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>path_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals an object path. <p> A path of just "/" is represented as an empty vector of strings.<dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>path</em> </td><td> address to store new object path </td></tr> <tr><td valign=top><em>path_len</em> </td><td> length of stored path </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01723">1723</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a47" doxytag="dbus-marshal.c::_dbus_demarshal_string"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> char* _dbus_demarshal_string </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals an UTF-8 string. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000026">Todo: </a></b><dd> Should we check the string to make sure that it's valid UTF-8, and maybe "fix" the string if it's broken? <p> Should probably demarshal to a <a class="el" href="structDBusString.html">DBusString</a>, having memcpy() in here is Evil(tm).</dl> <p> <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled string. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01182">1182</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a57" doxytag="dbus-marshal.c::_dbus_demarshal_string_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_string_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>char *** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a string array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> location for length of the demarshaled data or NULL </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01549">1549</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a43" doxytag="dbus-marshal.c::_dbus_demarshal_uint32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> _dbus_demarshal_uint32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 32 bit unsigned integer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled integer. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01054">1054</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a52" doxytag="dbus-marshal.c::_dbus_demarshal_uint32_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_uint32_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 32 bit unsigned integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01406">1406</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a45" doxytag="dbus-marshal.c::_dbus_demarshal_uint64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> _dbus_demarshal_uint64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 64 bit unsigned integer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the demarshaled integer. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01096">1096</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00084">DBusOctets8::u</a>. </td> </tr> </table> <a name="a54" doxytag="dbus-marshal.c::_dbus_demarshal_uint64_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_demarshal_uint64_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>new_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> ** </td> <td class="mdname" nowrap> <em>array</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>array_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Demarshals a 64 bit unsigned integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string containing the data </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order </td></tr> <tr><td valign=top><em>pos</em> </td><td> the position in the string </td></tr> <tr><td valign=top><em>new_pos</em> </td><td> the new position of the string </td></tr> <tr><td valign=top><em>array</em> </td><td> the array </td></tr> <tr><td valign=top><em>array_len</em> </td><td> length of the demarshaled data </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01454">1454</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a69" doxytag="dbus-marshal.c::_dbus_marshal_basic_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_basic_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>char </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a basic type. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> string to marshal to </td></tr> <tr><td valign=top><em>type</em> </td><td> type of value </td></tr> <tr><td valign=top><em>value</em> </td><td> pointer to value </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> byte order </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02537">2537</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a70" doxytag="dbus-marshal.c::_dbus_marshal_basic_type_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_basic_type_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>char </td> <td class="mdname" nowrap> <em>element_type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const void * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a basic type array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> string to marshal to </td></tr> <tr><td valign=top><em>element_type</em> </td><td> type of array elements </td></tr> <tr><td valign=top><em>value</em> </td><td> pointer to value </td></tr> <tr><td valign=top><em>len</em> </td><td> length of value data in elements </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> byte order </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02582">2582</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a29" doxytag="dbus-marshal.c::_dbus_marshal_byte_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_byte_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned char * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a byte array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> number of elements in the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00660">660</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a22" doxytag="dbus-marshal.c::_dbus_marshal_double"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_double </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a double value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00496">496</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00086">DBusOctets8::d</a>. </td> </tr> </table> <a name="a36" doxytag="dbus-marshal.c::_dbus_marshal_double_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_double_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const double * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a double array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00867">867</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a60" doxytag="dbus-marshal.c::_dbus_marshal_get_arg_end_pos"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_get_arg_end_pos </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>end_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the position right after the end of an argument. <p> PERFORMS NO VALIDATION WHATSOEVER. The message must have been previously validated.<dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> a string </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>type</em> </td><td> the type of the argument </td></tr> <tr><td valign=top><em>pos</em> </td><td> the pos where the arg starts </td></tr> <tr><td valign=top><em>end_pos</em> </td><td> pointer where the position right after the end position will follow </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> TRUE if more data exists after the arg </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01759">1759</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a23" doxytag="dbus-marshal.c::_dbus_marshal_int32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_int32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 32 bit signed integer value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00514">514</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a32" doxytag="dbus-marshal.c::_dbus_marshal_int32_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_int32_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 32 bit signed integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00783">783</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a25" doxytag="dbus-marshal.c::_dbus_marshal_int64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_int64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 64 bit signed integer value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00548">548</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00083">DBusOctets8::s</a>. </td> </tr> </table> <a name="a34" doxytag="dbus-marshal.c::_dbus_marshal_int64_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_int64_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 64 bit signed integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00825">825</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a38" doxytag="dbus-marshal.c::_dbus_marshal_object_path"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_object_path </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char ** </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>path_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals an object path value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>path</em> </td><td> the path </td></tr> <tr><td valign=top><em>path_len</em> </td><td> length of the path </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00930">930</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a14" doxytag="dbus-marshal.c::_dbus_marshal_set_int32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_marshal_set_int32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the 4 bytes at the given offset to a marshaled signed integer, replacing anything found there previously. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled int to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where int should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00320">320</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a16" doxytag="dbus-marshal.c::_dbus_marshal_set_int64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_marshal_set_int64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the 8 bytes at the given offset to a marshaled signed integer, replacing anything found there previously. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled int to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where int should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00360">360</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00083">DBusOctets8::s</a>. </td> </tr> </table> <a name="a19" doxytag="dbus-marshal.c::_dbus_marshal_set_object_path"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_marshal_set_object_path </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char ** </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>path_len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the existing marshaled object path at the given offset to a new value. <p> The given offset must point to an existing object path or this function doesn't make sense. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000023">Todo: </a></b><dd> implement this function</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled path to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where path should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>path</em> </td><td> the new path </td></tr> <tr><td valign=top><em>path_len</em> </td><td> number of elements in the path </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00449">449</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a18" doxytag="dbus-marshal.c::_dbus_marshal_set_string"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_set_string </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the existing marshaled string at the given offset with a new marshaled string. <p> The given offset must point to an existing string or the wrong length will be deleted and replaced with the new string. <p> Note: no attempt is made by this function to re-align any data which has been already marshalled after this string. Use with caution.<dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled string to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where string should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> <tr><td valign=top><em>len</em> </td><td> the length to use </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00411">411</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a15" doxytag="dbus-marshal.c::_dbus_marshal_set_uint32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_marshal_set_uint32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the 4 bytes at the given offset to a marshaled unsigned integer, replacing anything found there previously. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled int to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where int should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00339">339</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a17" doxytag="dbus-marshal.c::_dbus_marshal_set_uint64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_marshal_set_uint64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the 8 bytes at the given offset to a marshaled unsigned integer, replacing anything found there previously. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to write the marshalled int to </td></tr> <tr><td valign=top><em>offset</em> </td><td> the byte offset where int should be written </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00381">381</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00084">DBusOctets8::u</a>. </td> </tr> </table> <a name="a27" doxytag="dbus-marshal.c::_dbus_marshal_string"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_string </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a UTF-8 string. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000024">Todo: </a></b><dd> : If the string append fails we need to restore the old length. (also for other marshallers)</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the string </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00589">589</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a37" doxytag="dbus-marshal.c::_dbus_marshal_string_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_string_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char ** </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a string array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00887">887</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a28" doxytag="dbus-marshal.c::_dbus_marshal_string_len"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_string_len </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a UTF-8 string. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000025">Todo: </a></b><dd> : If the string append fails we need to restore the old length. (also for other marshallers)</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the string </td></tr> <tr><td valign=top><em>len</em> </td><td> length of string to marshal in bytes </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00623">623</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a24" doxytag="dbus-marshal.c::_dbus_marshal_uint32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_uint32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 32 bit unsigned integer value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00530">530</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a33" doxytag="dbus-marshal.c::_dbus_marshal_uint32_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_uint32_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 32 bit unsigned integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00803">803</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a26" doxytag="dbus-marshal.c::_dbus_marshal_uint64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_uint64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 64 bit unsigned integer value. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00566">566</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00084">DBusOctets8::u</a>. </td> </tr> </table> <a name="a35" doxytag="dbus-marshal.c::_dbus_marshal_uint64_array"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_uint64_array </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> * </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Marshals a 64 bit unsigned integer array. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string to append the marshalled value to </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>value</em> </td><td> the array </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the array </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> on success </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00845">845</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a65" doxytag="dbus-marshal.c::_dbus_marshal_validate_arg"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_validate_arg </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>depth</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>array_type_pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>end_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Validates an argument of a specific type, checking that it is well-formed, for example no ludicrous length fields, strings are nul-terminated, etc. <p> Returns the end position of the argument in end_pos, and returns <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if a valid arg begins at "pos" <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000028">Todo: </a></b><dd> security: need to audit this function.</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> a string </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>depth</em> </td><td> current recursion depth, to prevent excessive recursion </td></tr> <tr><td valign=top><em>type</em> </td><td> the type of the argument </td></tr> <tr><td valign=top><em>array_type_pos</em> </td><td> the position of the current array type, or -1 if not in an array </td></tr> <tr><td valign=top><em>pos</em> </td><td> the pos where the arg starts </td></tr> <tr><td valign=top><em>end_pos</em> </td><td> pointer where the position right after the end position will follow </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if the arg is valid. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02098">2098</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a63" doxytag="dbus-marshal.c::_dbus_marshal_validate_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_marshal_validate_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>end_pos</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Validates and returns a typecode at a specific position in the message. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> a string </td></tr> <tr><td valign=top><em>type</em> </td><td> the type of the argument </td></tr> <tr><td valign=top><em>pos</em> </td><td> the pos where the typecode starts </td></tr> <tr><td valign=top><em>end_pos</em> </td><td> pointer where the position right after the end position will follow </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if the type is valid. </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l01957">1957</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a9" doxytag="dbus-marshal.c::_dbus_pack_int32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_pack_int32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Packs a 32 bit signed integer into a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00234">234</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a11" doxytag="dbus-marshal.c::_dbus_pack_int64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_pack_int64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Packs a 64 bit signed integer into a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00267">267</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00083">DBusOctets8::s</a>. </td> </tr> </table> <a name="a8" doxytag="dbus-marshal.c::_dbus_pack_uint32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_pack_uint32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Packs a 32 bit unsigned integer into a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00219">219</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a10" doxytag="dbus-marshal.c::_dbus_pack_uint64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_pack_uint64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> </td> <td class="mdname" nowrap> <em>value</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Packs a 64 bit unsigned integer into a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>value</em> </td><td> the value </td></tr> <tr><td valign=top><em>byte_order</em> </td><td> the byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00250">250</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00084">DBusOctets8::u</a>. </td> </tr> </table> <a name="a66" doxytag="dbus-marshal.c::_dbus_type_is_valid"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a2">dbus_bool_t</a> _dbus_type_is_valid </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>typecode</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if the typecode is a valid typecode. <p> <dl compact><dt><b> Returns: </b><dd> <a class="el" href="group__DBusMacros.html#a2">TRUE</a> if valid </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02392">2392</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a3" doxytag="dbus-marshal.c::_dbus_unpack_int32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a4">dbus_int32_t</a> _dbus_unpack_int32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unpacks a 32 bit signed integer from a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>byte_order</em> </td><td> The byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the integer </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00134">134</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a5" doxytag="dbus-marshal.c::_dbus_unpack_int64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a8">dbus_int64_t</a> _dbus_unpack_int64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unpacks a 64 bit signed integer from a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>byte_order</em> </td><td> The byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the integer </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00167">167</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00083">DBusOctets8::s</a>. </td> </tr> </table> <a name="a2" doxytag="dbus-marshal.c::_dbus_unpack_uint32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a3">dbus_uint32_t</a> _dbus_unpack_uint32 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unpacks a 32 bit unsigned integer from a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>byte_order</em> </td><td> The byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the integer </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00120">120</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a4" doxytag="dbus-marshal.c::_dbus_unpack_uint64"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__DBusTypes.html#a7">dbus_uint64_t</a> _dbus_unpack_uint64 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>byte_order</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned char * </td> <td class="mdname" nowrap> <em>data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Unpacks a 64 bit unsigned integer from a data pointer. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>byte_order</em> </td><td> The byte order to use </td></tr> <tr><td valign=top><em>data</em> </td><td> the data pointer </td></tr> </table> </dl><dl compact><dt><b> Returns: </b><dd> the integer </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l00149">149</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. <p> References <a class="el" href="dbus-marshal_8c-source.html#l00084">DBusOctets8::u</a>. </td> </tr> </table> <a name="a67" doxytag="dbus-internals.h::_dbus_verbose_bytes"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_verbose_bytes </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const unsigned char * </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> If in verbose mode, print a block of binary data. <p> <p> <dl compact><dt><b> <a class="el" href="todo.html#_todo000029">Todo: </a></b><dd> right now it prints even if not in verbose mode</dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>data</em> </td><td> the data </td></tr> <tr><td valign=top><em>len</em> </td><td> the length of the data </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02425">2425</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <a name="a68" doxytag="dbus-internals.h::_dbus_verbose_bytes_of_string"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void _dbus_verbose_bytes_of_string </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structDBusString.html">DBusString</a> * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>start</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Dump the given part of the string to verbose log. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>str</em> </td><td> the string </td></tr> <tr><td valign=top><em>start</em> </td><td> the start of range to dump </td></tr> <tr><td valign=top><em>len</em> </td><td> length of range </td></tr> </table> </dl> <p> Definition at line <a class="el" href="dbus-marshal_8c-source.html#l02497">2497</a> of file <a class="el" href="dbus-marshal_8c-source.html">dbus-marshal.c</a>. </td> </tr> </table> <hr><address align="right"><small>Generated on Wed Jun 9 05:01:28 2004 for D-BUS by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address> </body> </html>