summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gmain.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2004-06-02 13:13:14 +0000
committerKristian Høgsberg <krh@redhat.com>2004-06-02 13:13:14 +0000
commit54dcec2a8312634116c5a1acbbd0070953525c8a (patch)
tree2186d4c56fd66a3a101768944c5375599e84032c /glib/dbus-gmain.c
parent0ea8ec33e01dfaf2194e1263546b943f970c6444 (diff)
2004-06-02 Kristian Høgsberg <krh@redhat.com>
* glib/dbus-gproxy.c, glib/dbus-gmain.c, dbus/dbus-string.c, dbus/dbus-object-tree.c, dbus/dbus-message.c: add comments to quiet doxygen. * Doxyfile.in: remove deprecated options. * dbus/dbus-message-handler.c, dbus/dbus-message-handler.h, glib/test-thread.h, glib/test-thread-client.c, glib/test-thread-server.c, glib/test-profile.c, glib/test-dbus-glib.c: remove these unused files.
Diffstat (limited to 'glib/dbus-gmain.c')
-rw-r--r--glib/dbus-gmain.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c
index d6c9e68d..da2e555d 100644
--- a/glib/dbus-gmain.c
+++ b/glib/dbus-gmain.c
@@ -67,14 +67,18 @@ struct DBusGSource
void *connection_or_server; /**< DBusConnection or DBusServer */
};
+/**
+ * Auxillary struct for pairing up a #DBusWatch and associated
+ * #GPollFD
+ */
typedef struct
{
- int refcount;
+ int refcount; /**< reference count */
- GPollFD poll_fd;
- DBusWatch *watch;
+ GPollFD poll_fd; /**< the #GPollFD to use with g_source_add_poll() */
+ DBusWatch *watch; /**< the corresponding DBusWatch*/
- unsigned int removed : 1;
+ unsigned int removed : 1; /**< true if this #WatchFD has been removed */
} WatchFD;
static WatchFD *