From 03b9ca6d4ecf2577958530b8390d675c73a58825 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 5 Apr 2003 00:37:17 +0000 Subject: 2003-04-04 Havoc Pennington * dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to return a "babysitter" object that is used to monitor the status of the spawned process and reap it when required. * test/test-segfault.c, test/test-exit.c, test/test-sleep-forever.c: binaries that do various lame things, used in the test suite. * dbus/dbus-sysdeps.c: kill _dbus_errno_to_string() --- dbus/dbus-sysdeps.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'dbus/dbus-sysdeps.h') diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 5057f521..77d54c8c 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -184,14 +184,6 @@ dbus_bool_t _dbus_generate_random_bytes (DBusString *str, const char *_dbus_errno_to_string (int errnum); const char* _dbus_error_from_errno (int error_number); -typedef void (* DBusSpawnChildSetupFunc) (void *user_data); - -dbus_bool_t _dbus_spawn_async (char **argv, - DBusSpawnChildSetupFunc child_setup, - void *user_data, - DBusError *error); - - void _dbus_disable_sigpipe (void); void _dbus_fd_set_close_on_exec (int fd); @@ -215,6 +207,7 @@ dbus_bool_t _dbus_stat (const DBusString *filename, DBusError *error); dbus_bool_t _dbus_full_duplex_pipe (int *fd1, int *fd2, + dbus_bool_t blocking, DBusError *error); dbus_bool_t _dbus_close (int fd, DBusError *error); -- cgit