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-server_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-server.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-server.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-server.h DBusServer object</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">#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_SERVER_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define DBUS_SERVER_H</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;dbus/dbus-errors.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;dbus/dbus-message.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;dbus/dbus-connection.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;dbus/dbus-protocol.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="l00042"></a><a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">00042</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structDBusServer.html">DBusServer</a> <a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>;
<a name="l00043"></a>00043 
<a name="l00047"></a><a class="code" href="group__DBusServer.html#g86c64a45e0834df26a8feae3079f6fbf">00047</a> <span class="keyword">typedef</span> void (* <a class="code" href="group__DBusServer.html#g86c64a45e0834df26a8feae3079f6fbf">DBusNewConnectionFunction</a>) (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server,
<a name="l00048"></a>00048                                             <a class="code" href="structDBusConnection.html">DBusConnection</a> *new_connection,
<a name="l00049"></a>00049                                             <span class="keywordtype">void</span>           *data);
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>* <a class="code" href="group__DBusServer.html#geb56ec61286bff89fa482fd6138cd13b">dbus_server_listen</a>           (<span class="keyword">const</span> <span class="keywordtype">char</span>     *<a class="code" href="structDBusServer.html#359852bf33b3051180a9477da4d89acd">address</a>,
<a name="l00052"></a>00052                                           <a class="code" href="structDBusError.html">DBusError</a>      *error);
<a name="l00053"></a>00053 <a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>* <a class="code" href="group__DBusServer.html#g5c4406913d2a92093ce50e0521b37b5b">dbus_server_ref</a>              (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00054"></a>00054 <span class="keywordtype">void</span>        <a class="code" href="group__DBusServer.html#g8cd88699638aafda3512802b551fe87b">dbus_server_unref</a>            (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00055"></a>00055 <span class="keywordtype">void</span>        <a class="code" href="group__DBusServer.html#g3833573bd7b5dd61e77610edbcb49297">dbus_server_disconnect</a>       (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00056"></a>00056 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#g07c657d8e980c3ffc38c4293fa34ab09">dbus_server_get_is_connected</a> (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00057"></a>00057 <span class="keywordtype">char</span>*       <a class="code" href="group__DBusServer.html#g369647e80a931ea4bc53a859d43ac36a">dbus_server_get_address</a>      (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00058"></a>00058 <span class="keywordtype">char</span>*       <a class="code" href="group__DBusServer.html#g895b1c025268911584f4d15dd7c96512">dbus_server_get_id</a>           (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>     *server);
<a name="l00059"></a>00059 <span class="keywordtype">void</span>        <a class="code" href="group__DBusServer.html#gcf6686c9b7d53124b7f2ef1349a30148">dbus_server_set_new_connection_function</a> (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>                *server,
<a name="l00060"></a>00060                                                      <a class="code" href="group__DBusServer.html#g86c64a45e0834df26a8feae3079f6fbf">DBusNewConnectionFunction</a>  function,
<a name="l00061"></a>00061                                                      <span class="keywordtype">void</span>                      *data,
<a name="l00062"></a>00062                                                      <a class="code" href="group__DBusMemory.html#g8792ec2b2b8626ca28022faf51ec415a">DBusFreeFunction</a>           free_data_function);
<a name="l00063"></a>00063 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#g60ed22313c5fbe06c06924acd62959a2">dbus_server_set_watch_functions</a>         (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>                *server,
<a name="l00064"></a>00064                                                      <a class="code" href="group__DBusConnection.html#g985b712fc165afa66e5901859b68b9de">DBusAddWatchFunction</a>       add_function,
<a name="l00065"></a>00065                                                      <a class="code" href="group__DBusConnection.html#g6a48c42c4bde24911cae7fda0d1f1589">DBusRemoveWatchFunction</a>    remove_function,
<a name="l00066"></a>00066                                                      <a class="code" href="group__DBusConnection.html#gfa7e0f7856f8ebbe66475979ef54ed9e">DBusWatchToggledFunction</a>   toggled_function,
<a name="l00067"></a>00067                                                      <span class="keywordtype">void</span>                      *data,
<a name="l00068"></a>00068                                                      <a class="code" href="group__DBusMemory.html#g8792ec2b2b8626ca28022faf51ec415a">DBusFreeFunction</a>           free_data_function);
<a name="l00069"></a>00069 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#gb5767a964cd2049c985434ad64ae1169">dbus_server_set_timeout_functions</a>       (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>                *server,
<a name="l00070"></a>00070                                                      <a class="code" href="group__DBusConnection.html#g0f4e9f850546dfbe3a27edea05e5e590">DBusAddTimeoutFunction</a>     add_function,
<a name="l00071"></a>00071                                                      <a class="code" href="group__DBusConnection.html#gb11e8c56bd8637deca1439be635f6ca7">DBusRemoveTimeoutFunction</a>  remove_function,
<a name="l00072"></a>00072                                                      <a class="code" href="group__DBusConnection.html#g1e98eb88ce848204d419495be5e1d228">DBusTimeoutToggledFunction</a> toggled_function,
<a name="l00073"></a>00073                                                      <span class="keywordtype">void</span>                      *data,
<a name="l00074"></a>00074                                                      <a class="code" href="group__DBusMemory.html#g8792ec2b2b8626ca28022faf51ec415a">DBusFreeFunction</a>           free_data_function);
<a name="l00075"></a>00075 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#g516ec5f045cf0ddd05a52b2a8bf3f641">dbus_server_set_auth_mechanisms</a>         (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>                *server,
<a name="l00076"></a>00076                                                      <span class="keyword">const</span> <span class="keywordtype">char</span>               **mechanisms);
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#ge9d33d128e7563bff6a902ebd443ef5e">dbus_server_allocate_data_slot</a> (<a class="code" href="group__DBusTypes.html#gb18afa60e9b17b6e322735bda3d863d8">dbus_int32_t</a>     *slot_p);
<a name="l00079"></a>00079 <span class="keywordtype">void</span>        <a class="code" href="group__DBusServer.html#g9065202df7477e5cbf1ae084c59a9ecc">dbus_server_free_data_slot</a>     (<a class="code" href="group__DBusTypes.html#gb18afa60e9b17b6e322735bda3d863d8">dbus_int32_t</a>     *slot_p);
<a name="l00080"></a>00080 <a class="code" href="group__DBusTypes.html#g39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="code" href="group__DBusServer.html#g7309ea0b3e3b75dffb9ad8bb9d2fc2b7">dbus_server_set_data</a>           (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>       *server,
<a name="l00081"></a>00081                                             <span class="keywordtype">int</span>               slot,
<a name="l00082"></a>00082                                             <span class="keywordtype">void</span>             *data,
<a name="l00083"></a>00083                                             <a class="code" href="group__DBusMemory.html#g8792ec2b2b8626ca28022faf51ec415a">DBusFreeFunction</a>  free_data_func);
<a name="l00084"></a>00084 <span class="keywordtype">void</span>*       <a class="code" href="group__DBusServer.html#gd56f156ff7a60fb1306a82f80e1b0877">dbus_server_get_data</a>           (<a class="code" href="group__DBusServer.html#g39dc10dc2cbe727cf312c51b25b4341e">DBusServer</a>       *server,
<a name="l00085"></a>00085                                             <span class="keywordtype">int</span>               slot);
<a name="l00086"></a>00086 
<a name="l00089"></a>00089 <a class="code" href="group__DBusMacros.html#ge4a9263a43f8220f6e1c0fd07cf6e59a">DBUS_END_DECLS</a>
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="preprocessor">#endif </span><span class="comment">/* DBUS_SERVER_H */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:12 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