From 35ab7c6fab22dca58fc4b5c22b9e8587a6fd1492 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 5 Apr 2003 19:09:49 +0000 Subject: 2003-04-05 Havoc Pennington * dbus/dbus-string.c: docs warning * dbus/dbus-spawn.c: missing docs * dbus/dbus-memory.c (struct ShutdownClosure): missing docs --- dbus/dbus-memory.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'dbus/dbus-memory.c') diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 8efbec59..c42ef466 100644 --- a/dbus/dbus-memory.c +++ b/dbus/dbus-memory.c @@ -633,13 +633,19 @@ dbus_free_string_array (char **str_array) */ int _dbus_current_generation = 1; +/** + * Represents a function to be called on shutdown. + */ typedef struct ShutdownClosure ShutdownClosure; +/** + * This struct represents a function to be called on shutdown. + */ struct ShutdownClosure { - ShutdownClosure *next; - DBusShutdownFunction func; - void *data; + ShutdownClosure *next; /**< Next ShutdownClosure */ + DBusShutdownFunction func; /**< Function to call */ + void *data; /**< Data for function */ }; _DBUS_DEFINE_GLOBAL_LOCK (shutdown_funcs); -- cgit