summaryrefslogtreecommitdiff
path: root/dbus/dbus-spawn.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-07-24 11:37:20 +0000
committerRichard Hughes <richard@hughsie.com>2007-07-24 11:37:20 +0000
commitab25c5369686273cbd53afb2ceb9f895012378b4 (patch)
tree173f4135ab378fb3fb7677dc306cb7a8c78f9dfc /dbus/dbus-spawn.h
parentee10721fdb3fb4cd8f2487a87a4e1c68e61ca0d6 (diff)
downloaddbus-ab25c5369686273cbd53afb2ceb9f895012378b4.tar.gz
2007-07-24 Richard Hughes <richard@hughsie.com>
* dbus/dbus-spawn.c: (read_data), (_dbus_babysitter_get_child_exit_status): * dbus/dbus-spawn.h: Add a function so we can get access to the exit status of the launch helper. By providing the return code and not the error we can leave the 'what does this mean?' to the bus launch code and not include it in the dbus directory.
Diffstat (limited to 'dbus/dbus-spawn.h')
-rw-r--r--dbus/dbus-spawn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-spawn.h b/dbus/dbus-spawn.h
index 0eed6bab..7d8a67a7 100644
--- a/dbus/dbus-spawn.h
+++ b/dbus/dbus-spawn.h
@@ -47,6 +47,8 @@ void _dbus_babysitter_kill_child (DBusBabysitter *si
dbus_bool_t _dbus_babysitter_get_child_exited (DBusBabysitter *sitter);
void _dbus_babysitter_set_child_exit_error (DBusBabysitter *sitter,
DBusError *error);
+dbus_bool_t _dbus_babysitter_get_child_exit_status (DBusBabysitter *sitter,
+ int *status);
dbus_bool_t _dbus_babysitter_set_watch_functions (DBusBabysitter *sitter,
DBusAddWatchFunction add_function,
DBusRemoveWatchFunction remove_function,