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-bus_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-bus.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-bus.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-bus.h  Convenience functions for communicating with the bus.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2003  CodeFactory AB</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">#if !defined (DBUS_INSIDE_DBUS_H) &amp;&amp; !defined (DBUS_COMPILATION)</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#error "Only &lt;dbus/dbus.h&gt; 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_BUS_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_BUS_H</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;dbus/dbus-connection.h&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <a class="code" href="group__DBusMacros.html#g875146b01015e9ced22b25d76d549ab2">DBUS_BEGIN_DECLS</a>
<a name="l00033"></a>00033 
<a name="l00039"></a>00039 <a class="code" href="structDBusConnection.html">DBusConnection</a> *<a class="code" href="group__DBusBus.html#g1d29aa7e5337a792a40d91aba81f2f0c">dbus_bus_get</a>              (<a class="code" href="group__DBusShared.html#g980320deb96476bee7555edcdebc3528">DBusBusType</a>     type,
<a name="l00040"></a>00040                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00041"></a>00041 <a class="code" href="structDBusConnection.html">DBusConnection</a> *<a class="code" href="group__DBusBus.html#gfc938ab933f260763e93e1e8feea31f0">dbus_bus_get_private</a>      (<a class="code" href="group__DBusShared.html#g980320deb96476bee7555edcdebc3528">DBusBusType</a>     type,
<a name="l00042"></a>00042                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>     <a class="code" href="group__DBusBus.html#g12ee703b8342cb7313bb1f9de4457a42">dbus_bus_register</a>         (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00045"></a>00045                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00046"></a>00046 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>     <a class="code" href="group__DBusBus.html#gdabd7b8bdbe1c17765b8b117ab0c90ca">dbus_bus_set_unique_name</a>  (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00047"></a>00047                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *unique_name);
<a name="l00048"></a>00048 <span class="keyword">const</span> <span class="keywordtype">char</span>*     <a class="code" href="group__DBusBus.html#g96e47216f5bd1dac22d18e05653bcedc">dbus_bus_get_unique_name</a>  (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection);
<a name="l00049"></a>00049 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>   <a class="code" href="group__DBusBus.html#g3233d29e4495f8bffffe360581e330ec">dbus_bus_get_unix_user</a>    (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00050"></a>00050                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *name,
<a name="l00051"></a>00051                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00052"></a>00052 <span class="keywordtype">char</span>*           <a class="code" href="group__DBusBus.html#gf85a162b35ea9be7f00a8dd24e3a2ee4">dbus_bus_get_id</a>           (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00053"></a>00053                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00054"></a>00054 <span class="keywordtype">int</span>             <a class="code" href="group__DBusBus.html#gecebc2e12d4bac3602948da32ecc35cd">dbus_bus_request_name</a>     (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00055"></a>00055                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *name,
<a name="l00056"></a>00056                                            <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>    flags,
<a name="l00057"></a>00057                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00058"></a>00058 <span class="keywordtype">int</span>             <a class="code" href="group__DBusBus.html#g1491574f9ae51697dd85f57f48d98128">dbus_bus_release_name</a>     (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00059"></a>00059                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *name,
<a name="l00060"></a>00060                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00061"></a>00061 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>     <a class="code" href="group__DBusBus.html#g6e0f62c7b7608c5ab8d4a91904845693">dbus_bus_name_has_owner</a>   (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00062"></a>00062                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *name,
<a name="l00063"></a>00063                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>     <a class="code" href="group__DBusBus.html#g10b11a2c5437e8c4a052f5e09c311195">dbus_bus_start_service_by_name</a> (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00066"></a>00066                                                 <span class="keyword">const</span> <span class="keywordtype">char</span>     *name,
<a name="l00067"></a>00067                                                 <a class="code" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>   flags,
<a name="l00068"></a>00068                                                 <a class="code" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>  *reply,
<a name="l00069"></a>00069                                                 <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="keywordtype">void</span>            <a class="code" href="group__DBusBus.html#g41973ba3a5450be798cdbba345b33fb4">dbus_bus_add_match</a>        (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00072"></a>00072                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *rule,
<a name="l00073"></a>00073                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00074"></a>00074 <span class="keywordtype">void</span>            <a class="code" href="group__DBusBus.html#gd1949f0d733bc02b9f909fdb64d96ae6">dbus_bus_remove_match</a>     (<a class="code" href="structDBusConnection.html">DBusConnection</a> *connection,
<a name="l00075"></a>00075                                            <span class="keyword">const</span> <span class="keywordtype">char</span>     *rule,
<a name="l00076"></a>00076                                            <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00077"></a>00077 
<a name="l00080"></a>00080 <a class="code" href="group__DBusMacros.html#ge4a9263a43f8220f6e1c0fd07cf6e59a">DBUS_END_DECLS</a>
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_BUS_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