… | |
… | |
42 | #include "../config.h" /* NECESSARY */ |
42 | #include "../config.h" /* NECESSARY */ |
43 | #include "rxvt.h" /* NECESSARY */ |
43 | #include "rxvt.h" /* NECESSARY */ |
44 | #include "logging.h" |
44 | #include "logging.h" |
45 | #ifdef UTMP_SUPPORT |
45 | #ifdef UTMP_SUPPORT |
46 | |
46 | |
|
|
47 | int rxvt_write_bsd_utmp (int utmp_pos, struct utmp *wu); |
|
|
48 | void rxvt_update_wtmp (const char *fname, const struct utmp *putmp); |
|
|
49 | void rxvt_update_lastlog (const char *fname, const char *pty, const char *host); |
|
|
50 | |
47 | /* |
51 | /* |
48 | * BSD style utmp entry |
52 | * BSD style utmp entry |
49 | * ut_line, ut_name, ut_host, ut_time |
53 | * ut_line, ut_name, ut_host, ut_time |
50 | * SYSV style utmp (and utmpx) entry |
54 | * SYSV style utmp (and utmpx) entry |
51 | * ut_user, ut_id, ut_line, ut_pid, ut_type, ut_exit, ut_time |
55 | * ut_user, ut_id, ut_line, ut_pid, ut_type, ut_exit, ut_time |