aboutsummaryrefslogtreecommitdiff
path: root/initd/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'initd/init.h')
-rw-r--r--initd/init.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/initd/init.h b/initd/init.h
index 1a9f35a..61101c7 100644
--- a/initd/init.h
+++ b/initd/init.h
@@ -61,6 +61,12 @@ void config_set_target(int tgt);
/* Ask whether we should respawn services in the current target */
bool config_should_respawn(void);
+/* refuse to dequeue further services until this one terminates */
+void config_set_waiting(svc_run_data_t *rt);
+
+/* are we currently waiting for a service to terminate? */
+bool config_is_waiting(void);
+
/********** print_status.c **********/
void print_status(const svc_run_data_t *rt);