summaryrefslogtreecommitdiffstats
path: root/glib/dbus-glib.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/dbus-glib.h')
-rw-r--r--glib/dbus-glib.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/glib/dbus-glib.h b/glib/dbus-glib.h
index 7ca22417..3a87dec2 100644
--- a/glib/dbus-glib.h
+++ b/glib/dbus-glib.h
@@ -24,7 +24,7 @@
#define DBUS_GLIB_H
#include <dbus/dbus.h>
-#include <glib.h>
+#include <glib-object.h>
G_BEGIN_DECLS
@@ -36,6 +36,30 @@ void dbus_connection_setup_with_g_main (DBusConnection *connection,
void dbus_server_setup_with_g_main (DBusServer *server,
GMainContext *context);
+typedef struct DBusGObjectInfo DBusGObjectInfo;
+typedef struct DBusGMethodInfo DBusGMethodInfo;
+
+struct DBusGMethodInfo
+{
+ GCallback function;
+ DBusHandleMessageFunction marshaller;
+ int data_offset;
+};
+
+struct DBusGObjectInfo
+{
+ const DBusGMethodInfo *infos;
+ const unsigned char *data;
+ void *dbus_internal_padding1;
+ void *dbus_internal_padding2;
+};
+
+void dbus_gobject_class_install_info (GObjectClass *object_class,
+ const DBusGObjectInfo *info);
+void dbus_connection_register_gobject (DBusConnection *connection,
+ const char *at_path,
+ GObject *object);
+
#undef DBUS_INSIDE_DBUS_GLIB_H
G_END_DECLS