SCCS-vsn: include/protocols/rwhod.h 4.6
-/* rwhod.h 4.5 83/05/05 */
+/* rwhod.h 4.6 83/05/22 */
/*
* rwho protocol packet format.
*/
/*
* rwho protocol packet format.
*/
+struct outmp {
+ char out_line[8]; /* tty name */
+ char out_name[8]; /* user id */
+ long out_time; /* time on */
+};
+
struct whod {
char wd_vers; /* protocol version # */
char wd_type; /* packet type, see below */
struct whod {
char wd_vers; /* protocol version # */
char wd_type; /* packet type, see below */
int wd_loadav[3]; /* load average as in uptime */
int wd_boottime; /* time system booted */
struct whoent {
int wd_loadav[3]; /* load average as in uptime */
int wd_boottime; /* time system booted */
struct whoent {
- struct utmp we_utmp; /* active tty info */
+ struct outmp we_utmp; /* active tty info */
int we_idle; /* tty idle time */
} wd_we[1024 / sizeof (struct whoent)];
};
int we_idle; /* tty idle time */
} wd_we[1024 / sizeof (struct whoent)];
};