diff options
author | Roy Marples <roy@marples.name> | 2007-04-20 18:58:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-20 18:58:42 +0000 |
commit | 35ee67f446277f5777a5b9f7feff3e37b315d9d0 (patch) | |
tree | 18582ab2a6ccc89bcefbfc9771c777b5ad68c7ba /src/rc.h | |
parent | a5ba34ec151e4e18d7b732dac1517d21a1df3710 (diff) |
Re-work the starting and stopping of services so we always know the pid so we can kill our children without the need for process groups which we cannot use as keyboard will not work in init.
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ bool rc_service_state (const char *service, rc_service_state_t state); bool rc_mark_service (const char *service, rc_service_state_t state); pid_t rc_stop_service (const char *service); pid_t rc_start_service (const char *service); +int rc_waitpid (pid_t pid); void rc_schedule_start_service (const char *service, const char *service_to_start); char **rc_services_scheduled_by (const char *service); |