diff options
author | Havoc Pennington <hp@redhat.com> | 2003-09-03 02:08:25 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-09-03 02:08:25 +0000 |
commit | d021cfae6695f0f44102edf758abfc42e2f3c093 (patch) | |
tree | 77e95134b676c65557962d50a4eab125a40e6d00 /glib/dbus-glib.h | |
parent | 7b4ac5de11d90e9f7048f057d70d3da5104388b6 (diff) |
2003-09-01 Havoc Pennington <hp@pobox.com>
* glib/dbus-gparser.c: implement
* glib/dbus-gobject.c: start implementing skeletons support
* configure.in: when disabling checks/assert, also define
G_DISABLE_ASSERT and G_DISABLE_CHECKS
Diffstat (limited to 'glib/dbus-glib.h')
-rw-r--r-- | glib/dbus-glib.h | 26 |
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 |