summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-04 12:14:57 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-04 12:14:57 +0800
commit1468dc39fd67c39076b38bf4b9736394e416b6b3 (patch)
treeeda05642ac44da6499d63cdd28e65bbe54f11540 /include
parent04b5b79e7900940fc79dd4c4d8a3def9601abcd8 (diff)
downloadpttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar.gz
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar.bz2
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar.lz
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar.xz
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.tar.zst
pttbbs-1468dc39fd67c39076b38bf4b9736394e416b6b3.zip
- register: change notification mails to anonymous style
- mail: fast reject on replying to system mail/anonymous mail. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
-rw-r--r--include/pttstruct.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 694a2e4f..a8f5a0b2 100644
--- a/include/config.h
+++ b/include/config.h
@@ -45,6 +45,10 @@
#define BN_SYSOP "SYSOP"
#endif
+#ifndef BN_ID_PROBLEM
+#define BN_ID_PROBLEM "SYSOP"
+#endif
+
#ifndef BN_LAW
#define BN_LAW BBSMNAME "Law"
#endif
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 89b4c6b7..263cad44 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -454,9 +454,16 @@ typedef struct keeploc_t {
/* MAX_BMs is dirty hardcode 4 in mbbsd/cache.c:is_BM_cache() */
#define MAX_BMs 4 /* for BMcache, 一個看板最多幾板主 */
+// TODO
+// 哪天請好心人整理 shm:
+// (1) 增加 shmsize
+// (2) userinfo_t 可以移掉一些已不用的
+
#define SHM_VERSION 3276
typedef struct {
int version;
+ // int shmsize; // TODO add this: sizeof(SHM_t), for verification
+
/* uhash */
/* uhash is a userid->uid hash table -- jochang */
char userid[MAX_USERS][IDLEN + 1];