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-spawn.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'dbus/dbus-spawn.c') diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index 5fa2d5e8..2273a4e3 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -42,11 +42,14 @@ * if you thought about it a bit. */ +/** + * Enumeration for status of a read() + */ typedef enum { - READ_STATUS_OK, - READ_STATUS_ERROR, - READ_STATUS_EOF + READ_STATUS_OK, /**< Read succeeded */ + READ_STATUS_ERROR, /**< Some kind of error */ + READ_STATUS_EOF /**< EOF returned */ } ReadStatus; static ReadStatus @@ -709,7 +712,9 @@ _dbus_babysitter_handle_watch (DBusBabysitter *sitter, return TRUE; } +/** Helps remember which end of the pipe is which */ #define READ_END 0 +/** Helps remember which end of the pipe is which */ #define WRITE_END 1 -- cgit