| Current File : //usr/share/doc/dbus/api/dbus-threads_8h_source.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>D-Bus: dbus-threads.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">D-Bus
 <span id="projectnumber">1.8.20</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">dbus-threads.h</div> </div>
</div><!--header-->
<div class="contents">
<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-threads.h D-Bus threads handling</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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">#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."</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_THREADS_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_THREADS_H</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include <dbus/dbus-macros.h></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include <dbus/dbus-types.h></span>
<a name="l00032"></a>00032
<a name="l00033"></a>00033 <a class="code" href="group__DBusMacros.html#ga875146b01015e9ced22b25d76d549ab2" title="Macro used prior to declaring functions in the D-Bus header files.">DBUS_BEGIN_DECLS</a>
<a name="l00034"></a>00034
<a name="l00041"></a><a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40">00041</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> <a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a>;
<a name="l00043"></a><a class="code" href="group__DBusThreads.html#gaa14cd16a336a85b5edbca3c237c3829e">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structDBusCondVar.html">DBusCondVar</a> <a class="code" href="structDBusCondVar.html">DBusCondVar</a>;
<a name="l00044"></a>00044
<a name="l00046"></a><a class="code" href="group__DBusThreads.html#gae4cd138019719921ee81d7f3af2f0299">00046</a> <span class="keyword">typedef</span> <a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a>* (* DBusMutexNewFunction) (void);
<a name="l00048"></a><a class="code" href="group__DBusThreads.html#ga571a95a8897fdf1cc80f36710f95efe7">00048</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#ga571a95a8897fdf1cc80f36710f95efe7" title="Deprecated, provide DBusRecursiveMutexFreeFunction instead.">DBusMutexFreeFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00050"></a><a class="code" href="group__DBusThreads.html#ga5ff3bc4d16295140d831c5f1a52f74aa">00050</a> <span class="keyword">typedef</span> <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a> (* <a class="code" href="group__DBusThreads.html#ga5ff3bc4d16295140d831c5f1a52f74aa" title="Deprecated, provide DBusRecursiveMutexLockFunction instead.">DBusMutexLockFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00052"></a><a class="code" href="group__DBusThreads.html#ga5568e0cd30e1872705d582e27c22e57f">00052</a> <span class="keyword">typedef</span> <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a> (* <a class="code" href="group__DBusThreads.html#ga5568e0cd30e1872705d582e27c22e57f" title="Deprecated, provide DBusRecursiveMutexUnlockFunction instead.">DBusMutexUnlockFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00053"></a>00053
<a name="l00061"></a><a class="code" href="group__DBusThreads.html#ga08fc7d346a564450730cc52035959681">00061</a> <span class="keyword">typedef</span> <a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a>* (* DBusRecursiveMutexNewFunction) (void);
<a name="l00064"></a><a class="code" href="group__DBusThreads.html#ga1709b60b7643b272a1c06a4270213a91">00064</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#ga1709b60b7643b272a1c06a4270213a91" title="Frees a recursively-lockable mutex.">DBusRecursiveMutexFreeFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00068"></a><a class="code" href="group__DBusThreads.html#ga08e197c1f992c7b91fe5541e4e36394c">00068</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#ga08e197c1f992c7b91fe5541e4e36394c" title="Locks a recursively-lockable mutex.">DBusRecursiveMutexLockFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00072"></a><a class="code" href="group__DBusThreads.html#gae12cbb69548ed6211a382962bcef12bf">00072</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#gae12cbb69548ed6211a382962bcef12bf" title="Unlocks a recursively-lockable mutex.">DBusRecursiveMutexUnlockFunction</a>) (<a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00073"></a>00073
<a name="l00077"></a><a class="code" href="group__DBusThreads.html#ga8187aee4a3803e6b3859bf0054b32004">00077</a> <span class="keyword">typedef</span> <a class="code" href="structDBusCondVar.html">DBusCondVar</a>* (* DBusCondVarNewFunction) (void);
<a name="l00080"></a><a class="code" href="group__DBusThreads.html#gae65cc291c8c22bc2db83d6b72e41406c">00080</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#gae65cc291c8c22bc2db83d6b72e41406c" title="Frees a condition variable.">DBusCondVarFreeFunction</a>) (<a class="code" href="structDBusCondVar.html">DBusCondVar</a> *<a class="code" href="structDBusCondVar.html#a1c1e453c6198b5df982ab2a7582c72d6" title="the condition">cond</a>);
<a name="l00081"></a>00081
<a name="l00092"></a><a class="code" href="group__DBusThreads.html#gac27ac55dc1ef5cd28d14ab6edf9e02fb">00092</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#gac27ac55dc1ef5cd28d14ab6edf9e02fb" title="Waits on a condition variable.">DBusCondVarWaitFunction</a>) (<a class="code" href="structDBusCondVar.html">DBusCondVar</a> *<a class="code" href="structDBusCondVar.html#a1c1e453c6198b5df982ab2a7582c72d6" title="the condition">cond</a>,
<a name="l00093"></a>00093 <a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex);
<a name="l00094"></a>00094
<a name="l00101"></a><a class="code" href="group__DBusThreads.html#ga33c3b5d908d32e6262c8c5dc269e1f8b">00101</a> <span class="keyword">typedef</span> <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a> (* <a class="code" href="group__DBusThreads.html#ga33c3b5d908d32e6262c8c5dc269e1f8b" title="Waits on a condition variable with a timeout.">DBusCondVarWaitTimeoutFunction</a>) (<a class="code" href="structDBusCondVar.html">DBusCondVar</a> *<a class="code" href="structDBusCondVar.html#a1c1e453c6198b5df982ab2a7582c72d6" title="the condition">cond</a>,
<a name="l00102"></a>00102 <a class="code" href="group__DBusThreads.html#ga4eb021cd6cd0830423eac2738e0ddc40" title="An opaque mutex type provided by the DBusThreadFunctions implementation installed by dbus_threads_ini...">DBusMutex</a> *mutex,
<a name="l00103"></a>00103 <span class="keywordtype">int</span> timeout_milliseconds);
<a name="l00108"></a><a class="code" href="group__DBusThreads.html#ga1035883699fd580d9eeeaf8355dfd733">00108</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#ga1035883699fd580d9eeeaf8355dfd733" title="Wakes one waiting thread on a condition variable.">DBusCondVarWakeOneFunction</a>) (<a class="code" href="structDBusCondVar.html">DBusCondVar</a> *<a class="code" href="structDBusCondVar.html#a1c1e453c6198b5df982ab2a7582c72d6" title="the condition">cond</a>);
<a name="l00109"></a>00109
<a name="l00114"></a><a class="code" href="group__DBusThreads.html#ga28d3cc22cb2374ae0e1c56df41632853">00114</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusThreads.html#ga28d3cc22cb2374ae0e1c56df41632853" title="Wakes all waiting threads on a condition variable.">DBusCondVarWakeAllFunction</a>) (<a class="code" href="structDBusCondVar.html">DBusCondVar</a> *<a class="code" href="structDBusCondVar.html#a1c1e453c6198b5df982ab2a7582c72d6" title="the condition">cond</a>);
<a name="l00115"></a>00115
<a name="l00121"></a><a class="code" href="group__DBusThreads.html#gaf6212cb5e78b84cf5c6c6cb6e2b5aabe">00121</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00122"></a>00122 {
<a name="l00123"></a>00123 DBUS_THREAD_FUNCTIONS_MUTEX_NEW_MASK = 1 << 0,
<a name="l00124"></a>00124 DBUS_THREAD_FUNCTIONS_MUTEX_FREE_MASK = 1 << 1,
<a name="l00125"></a>00125 DBUS_THREAD_FUNCTIONS_MUTEX_LOCK_MASK = 1 << 2,
<a name="l00126"></a>00126 DBUS_THREAD_FUNCTIONS_MUTEX_UNLOCK_MASK = 1 << 3,
<a name="l00127"></a>00127 DBUS_THREAD_FUNCTIONS_CONDVAR_NEW_MASK = 1 << 4,
<a name="l00128"></a>00128 DBUS_THREAD_FUNCTIONS_CONDVAR_FREE_MASK = 1 << 5,
<a name="l00129"></a>00129 DBUS_THREAD_FUNCTIONS_CONDVAR_WAIT_MASK = 1 << 6,
<a name="l00130"></a>00130 DBUS_THREAD_FUNCTIONS_CONDVAR_WAIT_TIMEOUT_MASK = 1 << 7,
<a name="l00131"></a>00131 DBUS_THREAD_FUNCTIONS_CONDVAR_WAKE_ONE_MASK = 1 << 8,
<a name="l00132"></a>00132 DBUS_THREAD_FUNCTIONS_CONDVAR_WAKE_ALL_MASK = 1 << 9,
<a name="l00133"></a>00133 DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_NEW_MASK = 1 << 10,
<a name="l00134"></a>00134 DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_FREE_MASK = 1 << 11,
<a name="l00135"></a>00135 DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_LOCK_MASK = 1 << 12,
<a name="l00136"></a>00136 DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_UNLOCK_MASK = 1 << 13,
<a name="l00137"></a>00137 DBUS_THREAD_FUNCTIONS_ALL_MASK = (1 << 14) - 1
<a name="l00138"></a>00138 } <a class="code" href="group__DBusThreads.html#gaf6212cb5e78b84cf5c6c6cb6e2b5aabe" title="Flags indicating which functions are present in DBusThreadFunctions.">DBusThreadFunctionsMask</a>;
<a name="l00139"></a>00139
<a name="l00152"></a><a class="code" href="structDBusThreadFunctions.html">00152</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00153"></a>00153 {
<a name="l00154"></a><a class="code" href="structDBusThreadFunctions.html#a8f1c2a3b3805e2c4034d7a341f7f82f1">00154</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structDBusThreadFunctions.html#a8f1c2a3b3805e2c4034d7a341f7f82f1" title="Mask indicating which functions are present.">mask</a>;
<a name="l00156"></a><a class="code" href="structDBusThreadFunctions.html#a342ba12a619162a5b228903076b46a44">00156</a> <a class="code" href="group__DBusThreads.html#gae4cd138019719921ee81d7f3af2f0299" title="Deprecated, provide DBusRecursiveMutexNewFunction instead.">DBusMutexNewFunction</a> <a class="code" href="structDBusThreadFunctions.html#a342ba12a619162a5b228903076b46a44" title="Function to create a mutex; optional and deprecated.">mutex_new</a>;
<a name="l00157"></a><a class="code" href="structDBusThreadFunctions.html#a01107266a74895f13af9962af6ad07dd">00157</a> <a class="code" href="group__DBusThreads.html#ga571a95a8897fdf1cc80f36710f95efe7" title="Deprecated, provide DBusRecursiveMutexFreeFunction instead.">DBusMutexFreeFunction</a> <a class="code" href="structDBusThreadFunctions.html#a01107266a74895f13af9962af6ad07dd" title="Function to free a mutex; optional and deprecated.">mutex_free</a>;
<a name="l00158"></a><a class="code" href="structDBusThreadFunctions.html#a1cc9d20f2ad0296e932951470063f8d0">00158</a> <a class="code" href="group__DBusThreads.html#ga5ff3bc4d16295140d831c5f1a52f74aa" title="Deprecated, provide DBusRecursiveMutexLockFunction instead.">DBusMutexLockFunction</a> <a class="code" href="structDBusThreadFunctions.html#a1cc9d20f2ad0296e932951470063f8d0" title="Function to lock a mutex; optional and deprecated.">mutex_lock</a>;
<a name="l00159"></a><a class="code" href="structDBusThreadFunctions.html#a334d478ec305b04f526537c131cd8e8a">00159</a> <a class="code" href="group__DBusThreads.html#ga5568e0cd30e1872705d582e27c22e57f" title="Deprecated, provide DBusRecursiveMutexUnlockFunction instead.">DBusMutexUnlockFunction</a> <a class="code" href="structDBusThreadFunctions.html#a334d478ec305b04f526537c131cd8e8a" title="Function to unlock a mutex; optional and deprecated.">mutex_unlock</a>;
<a name="l00161"></a><a class="code" href="structDBusThreadFunctions.html#a1796b617165734984bc40d38f9600d78">00161</a> <a class="code" href="group__DBusThreads.html#ga8187aee4a3803e6b3859bf0054b32004" title="Creates a new condition variable.">DBusCondVarNewFunction</a> <a class="code" href="structDBusThreadFunctions.html#a1796b617165734984bc40d38f9600d78" title="Function to create a condition variable.">condvar_new</a>;
<a name="l00162"></a><a class="code" href="structDBusThreadFunctions.html#ad302412c382190eddc05736f24d8855c">00162</a> <a class="code" href="group__DBusThreads.html#gae65cc291c8c22bc2db83d6b72e41406c" title="Frees a condition variable.">DBusCondVarFreeFunction</a> <a class="code" href="structDBusThreadFunctions.html#ad302412c382190eddc05736f24d8855c" title="Function to free a condition variable.">condvar_free</a>;
<a name="l00163"></a><a class="code" href="structDBusThreadFunctions.html#ae4cb6e9fe7c0813213561150721f349c">00163</a> <a class="code" href="group__DBusThreads.html#gac27ac55dc1ef5cd28d14ab6edf9e02fb" title="Waits on a condition variable.">DBusCondVarWaitFunction</a> <a class="code" href="structDBusThreadFunctions.html#ae4cb6e9fe7c0813213561150721f349c" title="Function to wait on a condition.">condvar_wait</a>;
<a name="l00164"></a><a class="code" href="structDBusThreadFunctions.html#a5e049c7bdf4d83a85ebce31d838d4218">00164</a> <a class="code" href="group__DBusThreads.html#ga33c3b5d908d32e6262c8c5dc269e1f8b" title="Waits on a condition variable with a timeout.">DBusCondVarWaitTimeoutFunction</a> <a class="code" href="structDBusThreadFunctions.html#a5e049c7bdf4d83a85ebce31d838d4218" title="Function to wait on a condition with a timeout.">condvar_wait_timeout</a>;
<a name="l00165"></a><a class="code" href="structDBusThreadFunctions.html#a3f1301eacf666381ec6c39100e6787e1">00165</a> <a class="code" href="group__DBusThreads.html#ga1035883699fd580d9eeeaf8355dfd733" title="Wakes one waiting thread on a condition variable.">DBusCondVarWakeOneFunction</a> <a class="code" href="structDBusThreadFunctions.html#a3f1301eacf666381ec6c39100e6787e1" title="Function to wake one thread waiting on the condition.">condvar_wake_one</a>;
<a name="l00166"></a><a class="code" href="structDBusThreadFunctions.html#a128295c0019a401163d04ea0e291b36c">00166</a> <a class="code" href="group__DBusThreads.html#ga28d3cc22cb2374ae0e1c56df41632853" title="Wakes all waiting threads on a condition variable.">DBusCondVarWakeAllFunction</a> <a class="code" href="structDBusThreadFunctions.html#a128295c0019a401163d04ea0e291b36c" title="Function to wake all threads waiting on the condition.">condvar_wake_all</a>;
<a name="l00168"></a><a class="code" href="structDBusThreadFunctions.html#afd30fb78a3ca1064bc8c074a6a61361e">00168</a> <a class="code" href="group__DBusThreads.html#ga08fc7d346a564450730cc52035959681" title="Creates a new recursively-lockable mutex, or returns NULL if not enough memory.">DBusRecursiveMutexNewFunction</a> <a class="code" href="structDBusThreadFunctions.html#afd30fb78a3ca1064bc8c074a6a61361e" title="Function to create a recursive mutex.">recursive_mutex_new</a>;
<a name="l00169"></a><a class="code" href="structDBusThreadFunctions.html#a8be6d85b7f162352efa5bb4a5663f44f">00169</a> <a class="code" href="group__DBusThreads.html#ga1709b60b7643b272a1c06a4270213a91" title="Frees a recursively-lockable mutex.">DBusRecursiveMutexFreeFunction</a> <a class="code" href="structDBusThreadFunctions.html#a8be6d85b7f162352efa5bb4a5663f44f" title="Function to free a recursive mutex.">recursive_mutex_free</a>;
<a name="l00170"></a><a class="code" href="structDBusThreadFunctions.html#ae99179276be65fe4f701de307882dac5">00170</a> <a class="code" href="group__DBusThreads.html#ga08e197c1f992c7b91fe5541e4e36394c" title="Locks a recursively-lockable mutex.">DBusRecursiveMutexLockFunction</a> <a class="code" href="structDBusThreadFunctions.html#ae99179276be65fe4f701de307882dac5" title="Function to lock a recursive mutex.">recursive_mutex_lock</a>;
<a name="l00171"></a><a class="code" href="structDBusThreadFunctions.html#a0bdb8cd9b263bcde5a0548b16ccd0702">00171</a> <a class="code" href="group__DBusThreads.html#gae12cbb69548ed6211a382962bcef12bf" title="Unlocks a recursively-lockable mutex.">DBusRecursiveMutexUnlockFunction</a> <a class="code" href="structDBusThreadFunctions.html#a0bdb8cd9b263bcde5a0548b16ccd0702" title="Function to unlock a recursive mutex.">recursive_mutex_unlock</a>;
<a name="l00173"></a><a class="code" href="structDBusThreadFunctions.html#ab47695687270635c0a1d4bb9b2b1a3b1">00173</a> void (* padding1) (void);
<a name="l00174"></a><a class="code" href="structDBusThreadFunctions.html#a49ca2f4d3718c2f0ad4d6172471d28f0">00174</a> void (* padding2) (void);
<a name="l00175"></a><a class="code" href="structDBusThreadFunctions.html#adabe94ac211fbaedac44d570eb6b17b0">00175</a> void (* padding3) (void);
<a name="l00176"></a><a class="code" href="structDBusThreadFunctions.html#aae49b987ac7d9466fba61cf1fa8f341d">00176</a> void (* padding4) (void);
<a name="l00178"></a>00178 } <a class="code" href="structDBusThreadFunctions.html" title="Functions that must be implemented to make the D-Bus library thread-aware.">DBusThreadFunctions</a>;
<a name="l00179"></a>00179
<a name="l00180"></a>00180 DBUS_EXPORT
<a name="l00181"></a>00181 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a> <a class="code" href="group__DBusThreads.html#gac7b8a7001befc3eaa8c6b043151008dc" title="Initializes threads, like dbus_threads_init_default().">dbus_threads_init</a> (<span class="keyword">const</span> <a class="code" href="structDBusThreadFunctions.html" title="Functions that must be implemented to make the D-Bus library thread-aware.">DBusThreadFunctions</a> *functions);
<a name="l00182"></a>00182 DBUS_EXPORT
<a name="l00183"></a>00183 <a class="code" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349" title="A boolean, valid values are TRUE and FALSE.">dbus_bool_t</a> <a class="code" href="group__DBusThreads.html#ga33b6cf3b8f1e41bad5508f84758818a7" title="Initializes threads.">dbus_threads_init_default</a> (<span class="keywordtype">void</span>);
<a name="l00184"></a>00184
<a name="l00187"></a>00187 <a class="code" href="group__DBusMacros.html#gae4a9263a43f8220f6e1c0fd07cf6e59a" title="Macro used after declaring functions in the D-Bus header files.">DBUS_END_DECLS</a>
<a name="l00188"></a>00188
<a name="l00189"></a>00189 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_THREADS_H */</span>
</pre></div></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 3 2016 17:50:32 for D-Bus by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>