X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=execute.h;h=b7dbe68491eb26ea0a47860a832e3baa716c36e3;hb=c9b97d2a838899d00004fbfbd3f8c2e6932c89a0;hp=e9bd686876d44900ec0bf0514671d79b3b160389;hpb=034c6ed7da5e44bfdde5a5d0da75f7b7a59953b8;p=elogind.git diff --git a/execute.h b/execute.h index e9bd68687..b7dbe6849 100644 --- a/execute.h +++ b/execute.h @@ -71,7 +71,8 @@ typedef enum ExitStatus { EXIT_EXEC, EXIT_MEMORY, EXIT_LIMITS, - EXIT_OOM_ADJUST + EXIT_OOM_ADJUST, + EXIT_SIGNAL_MASK } ExitStatus; int exec_spawn(const ExecCommand *command, const ExecContext *context, int *fds, unsigned n_fds, pid_t *ret); @@ -79,6 +80,10 @@ int exec_spawn(const ExecCommand *command, const ExecContext *context, int *fds, void exec_command_free_list(ExecCommand *c); void exec_command_free_array(ExecCommand **c, unsigned n); +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_context_init(ExecContext *c); void exec_context_done(ExecContext *c); void exec_context_dump(ExecContext *c, FILE* f, const char *prefix);