summaryrefslogtreecommitdiffstats
path: root/glib/dbus-glib.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-09-07 23:04:54 +0000
committerHavoc Pennington <hp@redhat.com>2003-09-07 23:04:54 +0000
commit85ab0327d82e4945ad16630e583d8cc68df25a90 (patch)
tree265a2058810fbe8bd68aa709dc04bafda086c67e /glib/dbus-glib.h
parent32bd6660e07696ed99bfa60b08700e8eae3e96b1 (diff)
2003-09-07 Havoc Pennington <hp@pobox.com>
* Make Doxygen contented.
Diffstat (limited to 'glib/dbus-glib.h')
-rw-r--r--glib/dbus-glib.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/glib/dbus-glib.h b/glib/dbus-glib.h
index 3a87dec2..4015dd99 100644
--- a/glib/dbus-glib.h
+++ b/glib/dbus-glib.h
@@ -39,19 +39,28 @@ void dbus_server_setup_with_g_main (DBusServer *server,
typedef struct DBusGObjectInfo DBusGObjectInfo;
typedef struct DBusGMethodInfo DBusGMethodInfo;
+/**
+ * Object typically generated by dbus-glib-tool that
+ * stores a mapping from introspection data to a
+ * function pointer for a C method to be invoked.
+ */
struct DBusGMethodInfo
{
- GCallback function;
- DBusHandleMessageFunction marshaller;
- int data_offset;
+ GCallback function; /**< C method to invoke */
+ DBusHandleMessageFunction marshaller; /**< Marshaller to go DBusMessage to C method */
+ int data_offset; /**< Offset into the introspection data */
};
+/**
+ * Introspection data for a GObject, normally autogenerated by
+ * a tool such as dbus-glib-tool.
+ */
struct DBusGObjectInfo
{
- const DBusGMethodInfo *infos;
- const unsigned char *data;
- void *dbus_internal_padding1;
- void *dbus_internal_padding2;
+ const DBusGMethodInfo *infos; /**< Array of method pointers */
+ const unsigned char *data; /**< Introspection data */
+ void *dbus_internal_padding1; /**< Reserved for expansion */
+ void *dbus_internal_padding2; /**< Reserved for expansion */
};
void dbus_gobject_class_install_info (GObjectClass *object_class,