diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-09 18:34:58 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-09 18:34:58 +0800 |
commit | 333ccae794114252eeba90e2288ffd7b6fd0c9db (patch) | |
tree | afb5e20e3349b1c481140843d5618b75d072f3e8 /include/pttstruct.h | |
parent | 3813eb2b959227e88aacbda9da2c5e05d4839870 (diff) | |
download | pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar.gz pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar.bz2 pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar.lz pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar.xz pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.tar.zst pttbbs-333ccae794114252eeba90e2288ffd7b6fd0c9db.zip |
ofo's water show 'x' for dead users
my_write() input uin if already got it
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@11 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 76a196a9..ea1e7d78 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.1 2002/03/07 15:13:48 in2 Exp $ */ +/* $Id: pttstruct.h,v 1.2 2002/03/09 10:34:56 in2 Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -191,23 +191,16 @@ typedef struct { int num, page, now, level; } gmenu_t; +#define FAVMAX 74 /* Max boards of Myfavorite */ +#define FAVGMAX 16 /* Max groups of Myfavorite */ +#define FAVGSLEN 8 /* Max Length of Description String */ + typedef struct msgque_t { pid_t pid; char userid[IDLEN + 1]; char last_call_in[80]; } msgque_t; -typedef struct water_t { - pid_t pid; - char userid[IDLEN + 1]; - msgque_t msg[MAX_REVIEW]; - int top, count; -} water_t; - -#define FAVMAX 74 /* Max boards of Myfavorite */ -#define FAVGMAX 16 /* Max groups of Myfavorite */ -#define FAVGSLEN 8 /* Max Length of Description String */ - typedef struct userinfo_t { int uid; /* Used to find user name in passwd file */ pid_t pid; /* kill() to notify user of talk request */ @@ -258,6 +251,14 @@ typedef struct userinfo_t { int mind; } userinfo_t; +typedef struct water_t { + pid_t pid; + char userid[IDLEN + 1], alive; + int top, count; + msgque_t msg[MAX_REVIEW]; + userinfo_t *uin; +} water_t; + typedef struct { fileheader_t *header; char mtitle[STRLEN]; |