From 5da31363b72ee7074a281ea7b216e470124a32bf Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 9 May 2003 07:44:48 +0000 Subject: foreigner identification git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index cb60f97d..044704ad 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.35 2003/05/07 03:35:07 bbs Exp $ */ +/* $Id: pttstruct.h,v 1.36 2003/05/09 07:44:48 victor Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -75,7 +75,8 @@ typedef struct userec_t { char mind[4]; char ident[11]; unsigned int uflag2; - char pad[72]; + char foreign; + char pad[71]; } userec_t; /* these are flags in userec_t.uflag */ #define SIG_FLAG 0x3 /* signature number, 2 bits */ @@ -95,6 +96,9 @@ typedef struct userec_t { #define FAVNOHILIGHT 0x10 /* false if hilight favorite */ #define FAVNEW_FLAG 0x20 /* true if add new board into one's fav */ +/* these are flags in userec_t.foreign */ +#define FOREIGN 0x1 +#define LIVERIGHT 0x2 #define BTLEN 48 /* Length of board title */ -- cgit v1.2.3