chiark / gitweb /
manager: instead of using siginfo_t when reading SIGCHLD PIDs, run waitid() twice...
[elogind.git] / execute.h
index 8275d636fef1bbe1e9290fe26277352d213d47bb..b4bb9600d1e691e8c697f2b2ed39e2dc98a308c6 100644 (file)
--- a/execute.h
+++ b/execute.h
@@ -162,6 +162,9 @@ int exec_spawn(ExecCommand *command,
                struct CGroupBonding *cgroup_bondings,
                pid_t *ret);
 
+void exec_command_done(ExecCommand *c);
+void exec_command_done_array(ExecCommand *c, unsigned n);
+
 void exec_command_free_list(ExecCommand *c);
 void exec_command_free_array(ExecCommand **c, unsigned n);
 
@@ -169,6 +172,7 @@ char *exec_command_line(ExecCommand *c);
 void exec_command_dump(ExecCommand *c, FILE *f, const char *prefix);
 void exec_command_dump_list(ExecCommand *c, FILE *f, const char *prefix);
 void exec_command_append_list(ExecCommand **l, ExecCommand *e);
+int exec_command_set(ExecCommand *c, const char *path, ...);
 
 void exec_context_init(ExecContext *c);
 void exec_context_done(ExecContext *c);