blob: 189dadcf88ee95e30b57ec6f8bd8987b6f2ca864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* GConf
* Copyright (C) 2003 CodeFactory AB
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GCONF_GCONFD_DBUS_H
#define GCONF_GCONFD_DBUS_H
#include <dbus/dbus.h>
gboolean gconfd_dbus_init (void);
gboolean gconfd_dbus_check_in_shutdown (DBusConnection *connection,
DBusMessage *message);
guint gconfd_dbus_client_count (void);
/* Convenience function copied from andercas old code */
gboolean gconfd_dbus_get_message_args (DBusConnection *connection,
DBusMessage *message,
int first_arg_type,
...);
gboolean gconfd_dbus_set_exception (DBusConnection *connection,
DBusMessage *message,
GError **error);
gboolean gconfd_dbus_check_in_shutdown (DBusConnection *connection,
DBusMessage *message);
DBusConnection *gconfd_dbus_get_connection (void);
void gconfd_emit_db_gone (const char *object_path);
#endif
|