index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
dir_000004.html
dbus
dbus-server.h
00001
/* -*- mode: C; c-file-style: "gnu" -*- */
00002
/* dbus-server.h DBusServer object
00003
*
00004
* Copyright (C) 2002, 2003  Red Hat Inc.
00005
*
00006
* Licensed under the Academic Free License version 2.1
00007
*
00008
* This program is free software; you can redistribute it and/or modify
00009
* it under the terms of the GNU General Public License as published by
00010
* the Free Software Foundation; either version 2 of the License, or
00011
* (at your option) any later version.
00012
*
00013
* This program is distributed in the hope that it will be useful,
00014
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00015
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016
* GNU General Public License for more details.
00017
*
00018
* You should have received a copy of the GNU General Public License
00019
* along with this program; if not, write to the Free Software
00020
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021
*
00022
*/
00023
#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
00024
#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
00025
#endif
00026
00027
#ifndef DBUS_SERVER_H
00028
#define DBUS_SERVER_H
00029
00030
#include <dbus/dbus-errors.h>
00031
#include <dbus/dbus-message.h>
00032
#include <dbus/dbus-connection.h>
00033
#include <dbus/dbus-protocol.h>
00034
00035
group__DBusMacros.html#ga0
DBUS_BEGIN_DECLS
00036
group__DBusServer.html#ga17
00037
typedef
struct
structDBusServer.html
DBusServer
DBusServer;
00038
00039
typedef
void (* DBusNewConnectionFunction) (DBusServer     *server,
00040
structDBusConnection.html
DBusConnection
*new_connection,
00041
void
*data);
00042
00043 DBusServer*
group__DBusServer.html#ga1
dbus_server_listen
(
const
char
*
structDBusServer.html#o7
address
,
00044
structDBusError.html
DBusError
*error);
00045 DBusServer*
group__DBusServer.html#ga2
dbus_server_ref
(DBusServer     *server);
00046
void
group__DBusServer.html#ga3
dbus_server_unref
(DBusServer     *server);
00047
void
group__DBusServer.html#ga6
dbus_server_disconnect
(DBusServer     *server);
00048
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga7
dbus_server_get_is_connected
(DBusServer     *server);
00049
char
*
group__DBusServer.html#ga8
dbus_server_get_address
(DBusServer     *server);
00050
void
group__DBusServer.html#ga9
dbus_server_set_new_connection_function
(DBusServer                *server,
00051                                                      DBusNewConnectionFunction  function,
00052
void
*data,
00053
group__DBusMemory.html#ga8
DBusFreeFunction
free_data_function);
00054
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga10
dbus_server_set_watch_functions
(DBusServer                *server,
00055                                                      DBusAddWatchFunction       add_function,
00056                                                      DBusRemoveWatchFunction    remove_function,
00057                                                      DBusWatchToggledFunction   toggled_function,
00058
void
*data,
00059
group__DBusMemory.html#ga8
DBusFreeFunction
free_data_function);
00060
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga11
dbus_server_set_timeout_functions
(DBusServer                *server,
00061                                                      DBusAddTimeoutFunction     add_function,
00062                                                      DBusRemoveTimeoutFunction  remove_function,
00063                                                      DBusTimeoutToggledFunction toggled_function,
00064
void
*data,
00065
group__DBusMemory.html#ga8
DBusFreeFunction
free_data_function);
00066
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga12
dbus_server_set_auth_mechanisms
(DBusServer                *server,
00067
const
char
**mechanisms);
00068
00069
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga13
dbus_server_allocate_data_slot
(
group__DBusTypes.html#ga4
dbus_int32_t
*slot_p);
00070
void
group__DBusServer.html#ga14
dbus_server_free_data_slot
(
group__DBusTypes.html#ga4
dbus_int32_t
*slot_p);
00071
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServer.html#ga15
dbus_server_set_data
(DBusServer       *server,
00072
int
slot,
00073
void
*data,
00074
group__DBusMemory.html#ga8
DBusFreeFunction
free_data_func);
00075
void
*
group__DBusServer.html#ga16
dbus_server_get_data
(DBusServer       *server,
00076
int
slot);
00077
00078
group__DBusMacros.html#ga1
DBUS_END_DECLS
00079
00080
#endif
/* DBUS_SERVER_H */
Generated on Tue Sep 13 01:28:07 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
