X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fexecute.h;h=ed61e3c62fad6b223f6832e634e34745ea47a5bc;hp=31cce5d7d289bf401158b2e5a1b5387ac891e4e0;hb=169c1bda807d183a362b47efe0b5b56e9320e430;hpb=dd6c17b1595ff8a78ebae6cf571fd222c80bfd17 diff --git a/src/execute.h b/src/execute.h index 31cce5d7d..ed61e3c62 100644 --- a/src/execute.h +++ b/src/execute.h @@ -26,6 +26,7 @@ typedef struct ExecStatus ExecStatus; typedef struct ExecCommand ExecCommand; typedef struct ExecContext ExecContext; +#include #include #include #include @@ -126,6 +127,8 @@ struct ExecContext { char *pam_name; + char *utmp_id; + char **read_write_dirs, **read_only_dirs, **inaccessible_dirs; unsigned long mount_flags; @@ -190,7 +193,7 @@ void exec_context_done(ExecContext *c); void exec_context_dump(ExecContext *c, FILE* f, const char *prefix); void exec_status_start(ExecStatus *s, pid_t pid); -void exec_status_exit(ExecStatus *s, pid_t pid, int code, int status); +void exec_status_exit(ExecStatus *s, pid_t pid, int code, int status, const char *utmp_id); void exec_status_dump(ExecStatus *s, FILE *f, const char *prefix); const char* exec_output_to_string(ExecOutput i);