diff options
Diffstat (limited to 'lib/libulog/ulog.h')
-rw-r--r-- | lib/libulog/ulog.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libulog/ulog.h b/lib/libulog/ulog.h index 2a613ddf46ca..fc95c3b99ae9 100644 --- a/lib/libulog/ulog.h +++ b/lib/libulog/ulog.h @@ -63,8 +63,23 @@ struct ulog_utmpx { char *ut_host; #if 0 pid_t ut_pid; +#endif short ut_type; +#define EMPTY 0 +#if 0 +#define BOOT_TIME 1 #endif +#define OLD_TIME 2 +#define NEW_TIME 3 +#if 0 +#define USER_PROCESS 4 +#define INIT_PROCESS 5 +#endif +#define LOGIN_PROCESS 6 +#define DEAD_PROCESS 7 + +#define SHUTDOWN_TIME 8 +#define REBOOT_TIME 9 struct timeval ut_tv; }; |