summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-07 17:13:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-07 17:13:24 +0800
commit2fe339599a7c3955298d7eba2e83ec710ae0299a (patch)
tree5be8f478952c6536b5e29b3d6167b659d5c9f057 /include
parent3135cf3e37a4b5fbd7b7b4e7a67b66c47d0e1e3a (diff)
downloadpttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar.gz
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar.bz2
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar.lz
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar.xz
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.tar.zst
pttbbs-2fe339599a7c3955298d7eba2e83ec710ae0299a.zip
BRD_NORECOMMEND
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/common.h13
-rw-r--r--include/pttstruct.h27
2 files changed, 15 insertions, 25 deletions
diff --git a/include/common.h b/include/common.h
index 90b4aca1..d70e8b82 100644
--- a/include/common.h
+++ b/include/common.h
@@ -1,4 +1,4 @@
-/* $Id: common.h,v 1.4 2002/06/22 07:24:47 ptt Exp $ */
+/* $Id: common.h,v 1.5 2002/11/07 09:13:23 in2 Exp $ */
#ifndef INCLUDE_COMMON_H
#define INCLUDE_COMMON_H
@@ -172,17 +172,6 @@
#define LTR(x) ((x) * 2 + 3)
#define CHE(a, b) ((a) | ((b) << 3))
-#define BRD_NOZAP 00001 /* 不可zap */
-#define BRD_NOCOUNT 00002 /* 不列入統計 */
-#define BRD_NOTRAN 00004 /* 不轉信 */
-#define BRD_GROUPBOARD 00010 /* 群組板 */
-#define BRD_HIDE 00020 /* 隱藏板 (看板好友才可看) */
-#define BRD_POSTMASK 00040 /* 限制發表或閱讀 */
-#define BRD_ANONYMOUS 00100 /* 匿名板 */
-#define BRD_DEFAULTANONYMOUS 00200 /* 預設匿名板 */
-#define BRD_BAD 00400 /* 違法改進中看板 */
-#define BRD_VOTEBOARD 01000 /* 連署機看板 */
-
#define MAX_MODES 80
#ifndef MIN
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 56d262e6..7d546415 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.25 2002/07/19 18:01:39 in2 Exp $ */
+/* $Id: pttstruct.h,v 1.26 2002/11/07 09:13:23 in2 Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -120,18 +120,19 @@ typedef struct boardheader_t {
char pad3[84];
} boardheader_t;
-#define BRD_NOZAP 00001 /* 不可zap */
-#define BRD_NOCOUNT 00002 /* 不列入統計 */
-#define BRD_NOTRAN 00004 /* 不轉信 */
-#define BRD_GROUPBOARD 00010 /* 群組板 */
-#define BRD_HIDE 00020 /* 隱藏板 (看板好友才可看) */
-#define BRD_POSTMASK 00040 /* 限制發表或閱讀 */
-#define BRD_ANONYMOUS 00100 /* 匿名板? */
-#define BRD_DEFAULTANONYMOUS 00200 /* 預設匿名板 */
-#define BRD_BAD 00400 /* 違法改進中看板 */
-#define BRD_VOTEBOARD 01000 /* 連署機看板 */
-#define BRD_WARNDEL 02000 /* 已警告要廢除的看板 */
-#define BRD_TOP 04000 /* 熱門看板的群組 設群組板才有用*/
+#define BRD_NOZAP 000000001 /* 不可zap */
+#define BRD_NOCOUNT 000000002 /* 不列入統計 */
+#define BRD_NOTRAN 000000004 /* 不轉信 */
+#define BRD_GROUPBOARD 000000010 /* 群組板 */
+#define BRD_HIDE 000000020 /* 隱藏板 (看板好友才可看) */
+#define BRD_POSTMASK 000000040 /* 限制發表或閱讀 */
+#define BRD_ANONYMOUS 000000100 /* 匿名板 */
+#define BRD_DEFAULTANONYMOUS 000000200 /* 預設匿名板 */
+#define BRD_BAD 000000400 /* 違法改進中看板 */
+#define BRD_VOTEBOARD 000001000 /* 連署機看板 */
+#define BRD_WARNEL 000002000 /* 連署機看板 */
+#define BRD_TOP 000004000 /* 熱門看板群組 */
+#define BRD_NORECOMMEND 000010000 /* 不可推薦 */
#define TTLEN 64 /* Length of title */
#define FNLEN 33 /* Length of filename */