File: gconfd-dbus.h

package info (click to toggle)
gconf 3.2.6-6
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 15,120 kB
  • sloc: ansic: 39,709; sh: 11,189; python: 1,107; makefile: 445; xml: 332
file content (44 lines) | stat: -rw-r--r-- 1,713 bytes parent folder | download | duplicates (5)
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
43
44
/* 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, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#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