summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-09 21:30:32 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-09 21:30:32 +0800
commit43c23212c73e8960fc1fdeb4849d327c28b3a5d9 (patch)
treefb496a57960085b970e46eb682f20cd2a6428284 /include
parentff3afd480dad5adc0404dc2a747508de95c5c32e (diff)
downloadpttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.gz
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.bz2
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.lz
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.xz
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.zst
pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.zip
use another clear bits -_-
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 044704ad..80bbe7f3 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.36 2003/05/09 07:44:48 victor Exp $ */
+/* $Id: pttstruct.h,v 1.37 2003/05/09 13:30:32 victor Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -75,8 +75,7 @@ typedef struct userec_t {
char mind[4];
char ident[11];
unsigned int uflag2;
- char foreign;
- char pad[71];
+ char pad[72];
} userec_t;
/* these are flags in userec_t.uflag */
#define SIG_FLAG 0x3 /* signature number, 2 bits */
@@ -95,10 +94,8 @@ typedef struct userec_t {
#define WATERMODE(mode) ((cuser.uflag2 & WATER_MASK) == mode)
#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 FOREIGN 0x100 /* true if a foreign */
+#define LIVERIGHT 0x200 /* true if get "liveright" already */
#define BTLEN 48 /* Length of board title */