X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Futmp-wtmp.h;h=4054aff7eafa7f38807c8bf6bdce845864720eb7;hp=34c3222c99e0cf0634c2e9f3c15193055ee4e4f1;hb=d60ef5265063914ca1502e56f77fd7d70e975da3;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221 diff --git a/src/utmp-wtmp.h b/src/utmp-wtmp.h index 34c3222c9..4054aff7e 100644 --- a/src/utmp-wtmp.h +++ b/src/utmp-wtmp.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef fooutmpwtmphfoo #define fooutmpwtmphfoo @@ -30,4 +30,9 @@ int utmp_put_shutdown(usec_t timestamp); int utmp_put_reboot(usec_t timestamp); int utmp_put_runlevel(usec_t timestamp, int runlevel, int previous); +int utmp_put_dead_process(const char *id, pid_t pid, int code, int status); +int utmp_put_init_process(usec_t timestamp, const char *id, pid_t pid, pid_t sid, const char *line); + +int utmp_wall(const char *message, bool (*match_tty)(const char *tty)); + #endif