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 :  /proc/21573/root/usr/share/devhelp/books/dbus/api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/share/devhelp/books/dbus/api/dbus-connection-internal_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-connection-internal.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-connection-internal.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-connection-internal.h DBusConnection internal interfaces</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., 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">#ifndef DBUS_CONNECTION_INTERNAL_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_CONNECTION_INTERNAL_H</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;dbus/dbus-internals.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;dbus/dbus-connection.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;dbus/dbus-message.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;dbus/dbus-transport.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;dbus/dbus-resources.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;dbus/dbus-list.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;dbus/dbus-timeout.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;dbus/dbus-dataslot.h&gt;</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <a class="code" href="group__DBusMacros.html#g875146b01015e9ced22b25d76d549ab2">DBUS_BEGIN_DECLS</a>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039   DBUS_ITERATION_DO_WRITING = 1 &lt;&lt; 0, 
<a name="l00040"></a>00040   DBUS_ITERATION_DO_READING = 1 &lt;&lt; 1, 
<a name="l00041"></a>00041   DBUS_ITERATION_BLOCK      = 1 &lt;&lt; 2  
<a name="l00042"></a>00042 } DBusIterationFlags;
<a name="l00043"></a>00043 
<a name="l00045"></a>00045 <span class="preprocessor">#define _DBUS_DEFAULT_TIMEOUT_VALUE (25 * 1000)</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g4fe0c8f7b72dc89b9e1a3110db2f778e">_dbus_connection_lock</a>                        (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00048"></a>00048 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g3db10d48ec16e485d5a638aacebd4ad2">_dbus_connection_unlock</a>                      (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00049"></a>00049 <a class="code" href="structDBusConnection.html">DBusConnection</a> *  <a class="code" href="group__DBusConnectionInternals.html#g7151f75b5d2308ec80cfe893aba72aa1">_dbus_connection_ref_unlocked</a>                (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00050"></a>00050 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g9ffbd9aa4f07cb30d92887e956a9fd43">_dbus_connection_unref_unlocked</a>              (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00051"></a>00051 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       _dbus_connection_queue_received_message      (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00052"></a>00052                                                                 <a class="code" href="structDBusMessage.html">DBusMessage</a>        *message);
<a name="l00053"></a>00053 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#gc1b92eba0aeee294dc28fcc260c9b749">_dbus_connection_queue_received_message_link</a> (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00054"></a>00054                                                                 <a class="code" href="structDBusList.html">DBusList</a>           *link);
<a name="l00055"></a>00055 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       <a class="code" href="group__DBusConnectionInternals.html#g3d31a01751860b67f960dcaffb7bb4ef">_dbus_connection_has_messages_to_send_unlocked</a> (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00056"></a>00056 <a class="code" href="structDBusMessage.html">DBusMessage</a>*      <a class="code" href="group__DBusConnectionInternals.html#g3955cd53ac4f671a5bb54019887389a7">_dbus_connection_get_message_to_send</a>         (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00057"></a>00057 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g2d04df24d0f54a4e2dcfbede4ef50f09">_dbus_connection_message_sent</a>                (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00058"></a>00058                                                                 <a class="code" href="structDBusMessage.html">DBusMessage</a>        *message);
<a name="l00059"></a>00059 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       <a class="code" href="group__DBusConnectionInternals.html#g82adef36b4cd583bc1146eae5756c063">_dbus_connection_add_watch_unlocked</a>          (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00060"></a>00060                                                                 <a class="code" href="structDBusWatch.html">DBusWatch</a>          *watch);
<a name="l00061"></a>00061 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g65fc02c0756d0c7caaa39cd60922c99b">_dbus_connection_remove_watch_unlocked</a>       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00062"></a>00062                                                                 <a class="code" href="structDBusWatch.html">DBusWatch</a>          *watch);
<a name="l00063"></a>00063 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g6c00e2eaf225b154760976af5688d250">_dbus_connection_toggle_watch_unlocked</a>       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00064"></a>00064                                                                 <a class="code" href="structDBusWatch.html">DBusWatch</a>          *watch,
<a name="l00065"></a>00065                                                                 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>         enabled);
<a name="l00066"></a>00066 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       <a class="code" href="group__DBusConnectionInternals.html#g12756797bd5c1918aa065f9c37ed7bba">_dbus_connection_handle_watch</a>                (<a class="code" href="structDBusWatch.html">DBusWatch</a>          *watch,
<a name="l00067"></a>00067                                                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>        condition,
<a name="l00068"></a>00068                                                                 <span class="keywordtype">void</span>               *data);
<a name="l00069"></a>00069 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       <a class="code" href="group__DBusConnectionInternals.html#g69e87e3be94b8c681585ec870e39a64a">_dbus_connection_add_timeout_unlocked</a>        (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00070"></a>00070                                                                 <a class="code" href="structDBusTimeout.html">DBusTimeout</a>        *timeout);
<a name="l00071"></a>00071 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#gbaa6d26f6eca30782904af1ceb703bd1">_dbus_connection_remove_timeout_unlocked</a>     (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00072"></a>00072                                                                 <a class="code" href="structDBusTimeout.html">DBusTimeout</a>        *timeout);
<a name="l00073"></a>00073 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g165dcfd8b995ff0edd19aebcf3e1a61a">_dbus_connection_toggle_timeout_unlocked</a>     (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00074"></a>00074                                                                 <a class="code" href="structDBusTimeout.html">DBusTimeout</a>        *timeout,
<a name="l00075"></a>00075                                                                 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>         enabled);
<a name="l00076"></a>00076 <a class="code" href="structDBusConnection.html">DBusConnection</a>*   <a class="code" href="group__DBusConnectionInternals.html#g2cdffe9215251b69cb39ff36b9f50e6c">_dbus_connection_new_for_transport</a>           (<a class="code" href="structDBusTransport.html">DBusTransport</a>      *transport);
<a name="l00077"></a>00077 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g9349ea2fb5197925c420d26772eae769">_dbus_connection_do_iteration_unlocked</a>       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00078"></a>00078                                                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>        flags,
<a name="l00079"></a>00079                                                                 <span class="keywordtype">int</span>                 timeout_milliseconds);
<a name="l00080"></a>00080 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#gdc46f7abfe925f9860fc8c64aeb29ad2">_dbus_connection_close_possibly_shared</a>       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00081"></a>00081 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g9f9665902c763bd1ddf9d9bc57d7a7ba">_dbus_connection_close_if_only_one_ref</a>       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection);
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 <a class="code" href="structDBusPendingCall.html">DBusPendingCall</a>*  _dbus_pending_call_new                       (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00084"></a>00084                                                                 <span class="keywordtype">int</span>                 timeout_milliseconds,
<a name="l00085"></a>00085                                                                 <a class="code" href="group__DBusTimeoutInternals.html#gd0b4e101391bd7f0a42f951178cdb090">DBusTimeoutHandler</a>  timeout_handler);
<a name="l00086"></a>00086 <span class="keywordtype">void</span>              _dbus_pending_call_notify                    (<a class="code" href="structDBusPendingCall.html">DBusPendingCall</a>    *pending);
<a name="l00087"></a>00087 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#g968196bee49659e75c54b53d7c85fa51">_dbus_connection_remove_pending_call</a>         (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00088"></a>00088                                                                 <a class="code" href="structDBusPendingCall.html">DBusPendingCall</a>    *pending);
<a name="l00089"></a>00089 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#gd5e725e66dc16a411544e25675fb9fba">_dbus_connection_block_pending_call</a>          (<a class="code" href="structDBusPendingCall.html">DBusPendingCall</a>    *pending);
<a name="l00090"></a>00090 <span class="keywordtype">void</span>              _dbus_pending_call_complete_and_unlock       (<a class="code" href="structDBusPendingCall.html">DBusPendingCall</a>    *pending,
<a name="l00091"></a>00091                                                                 <a class="code" href="structDBusMessage.html">DBusMessage</a>        *message);
<a name="l00092"></a>00092 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>       <a class="code" href="group__DBusConnectionInternals.html#g2974eb1c261305fafc635e14fc575d03">_dbus_connection_send_and_unlock</a>             (<a class="code" href="structDBusConnection.html">DBusConnection</a>     *connection,
<a name="l00093"></a>00093                                                                 <a class="code" href="structDBusMessage.html">DBusMessage</a>        *message,
<a name="l00094"></a>00094                                                                 <a class="code" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>      *client_serial);
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="keywordtype">void</span>              <a class="code" href="group__DBusConnectionInternals.html#gdb7a525dc6b566b575ee4f9b20028b04">_dbus_connection_queue_synthesized_message_link</a> (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00097"></a>00097                                                                    <a class="code" href="structDBusList.html">DBusList</a> *link);
<a name="l00098"></a>00098 <span class="keywordtype">void</span>              _dbus_connection_test_get_locks                 (<a class="code" href="structDBusConnection.html">DBusConnection</a> *conn,
<a name="l00099"></a>00099                                                                    <a class="code" href="group__DBusThreads.html#g4eb021cd6cd0830423eac2738e0ddc40">DBusMutex</a> **mutex_loc,
<a name="l00100"></a>00100                                                                    <a class="code" href="group__DBusThreads.html#g4eb021cd6cd0830423eac2738e0ddc40">DBusMutex</a> **dispatch_mutex_loc,
<a name="l00101"></a>00101                                                                    <a class="code" href="group__DBusThreads.html#g4eb021cd6cd0830423eac2738e0ddc40">DBusMutex</a> **io_path_mutex_loc,
<a name="l00102"></a>00102                                                                    <a class="code" href="group__DBusThreads.html#ga14cd16a336a85b5edbca3c237c3829e">DBusCondVar</a> **dispatch_cond_loc,
<a name="l00103"></a>00103                                                                    <a class="code" href="group__DBusThreads.html#ga14cd16a336a85b5edbca3c237c3829e">DBusCondVar</a> **io_path_cond_loc);
<a name="l00104"></a>00104 
<a name="l00105"></a>00105 <span class="comment">/* This _dbus_bus_* stuff doesn't really belong here, but dbus-bus-internal.h seems</span>
<a name="l00106"></a>00106 <span class="comment"> * silly for one function</span>
<a name="l00107"></a>00107 <span class="comment"> */</span>
<a name="l00113"></a>00113 <span class="keywordtype">void</span>           <a class="code" href="group__DBusBusInternals.html#g0e7fe5d0dcaca7ecb4b5a7ace23d6286">_dbus_bus_notify_shared_connection_disconnected_unlocked</a> (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection);
<a name="l00114"></a>00114 
<a name="l00118"></a>00118 <a class="code" href="group__DBusMacros.html#ge4a9263a43f8220f6e1c0fd07cf6e59a">DBUS_END_DECLS</a>
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_CONNECTION_INTERNAL_H */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:10 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