X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=execute.h;h=b4bb9600d1e691e8c697f2b2ed39e2dc98a308c6;hp=8275d636fef1bbe1e9290fe26277352d213d47bb;hb=4112df163517478207526e0d3e7278ab1acf1f9f;hpb=9fb867204f3f7a1107f4a4d27d8003c093a05139 diff --git a/execute.h b/execute.h index 8275d636f..b4bb9600d 100644 --- 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);