backwards compatible
authorBill Joy <root@ucbvax.Berkeley.EDU>
Mon, 23 May 1983 14:30:10 +0000 (06:30 -0800)
committerBill Joy <root@ucbvax.Berkeley.EDU>
Mon, 23 May 1983 14:30:10 +0000 (06:30 -0800)
SCCS-vsn: include/protocols/rwhod.h 4.6

usr/src/include/protocols/rwhod.h

index 2b697a7..e3f7cdd 100644 (file)
@@ -1,8 +1,14 @@
-/*     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 */
@@ -13,7 +19,7 @@ struct        whod {
        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)];
 };