chiark / gitweb /
build-sys: move .pc files next to the matching sources
[elogind.git] / src / utmp-wtmp.h
index 0d608f6a5e8abda5cdf3a708c1d5df59e1108f09..a5998ebb21105f5c26bb893918c625f499bcc131 100644 (file)
 
 int utmp_get_runlevel(int *runlevel, int *previous);
 
-int utmp_put_shutdown(usec_t timestamp);
+int utmp_put_shutdown(void);
 int utmp_put_reboot(usec_t timestamp);
-int utmp_put_runlevel(usec_t timestamp, int runlevel, int previous);
+int utmp_put_runlevel(int runlevel, int previous);
 
-int utmp_wall(const char *message);
+int utmp_put_dead_process(const char *id, pid_t pid, int code, int status);
+int utmp_put_init_process(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