aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-20 18:58:42 +0000
committerRoy Marples <roy@marples.name>2007-04-20 18:58:42 +0000
commit35ee67f446277f5777a5b9f7feff3e37b315d9d0 (patch)
tree18582ab2a6ccc89bcefbfc9771c777b5ad68c7ba /src/rc.h
parenta5ba34ec151e4e18d7b732dac1517d21a1df3710 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc.h b/src/rc.h
index aa49903e..c4b651be 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -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);