diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-09 15:44:48 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-09 15:44:48 +0800 |
commit | 5da31363b72ee7074a281ea7b216e470124a32bf (patch) | |
tree | 2d56d0e92eb376043b1d3ab5f2dbfeed8132fae4 /include/pttstruct.h | |
parent | 12dac5d34534f1cf3f507ccde8b8a8f495ece4e4 (diff) | |
download | pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar.gz pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar.bz2 pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar.lz pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar.xz pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.tar.zst pttbbs-5da31363b72ee7074a281ea7b216e470124a32bf.zip |
foreigner identification
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 */ |