summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-11 13:30:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-11 13:30:07 +0800
commit5588e96b39c1b7d8df72b9d370637de303af44fe (patch)
tree95ea93bffc75499f5d9700e1d9d3b170af1e6282 /include
parentdbebf26d241a20a2869fb530fb3d906e8e606690 (diff)
downloadpttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.gz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.bz2
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.lz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.xz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.zst
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.zip
* make port binding to standalone configuration fine (etc/bindports.conf)
* refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 8cb003ed..4991036b 100644
--- a/include/common.h
+++ b/include/common.h
@@ -7,6 +7,12 @@
#define DEFAULT_BOARD str_sysop
+// BBS Configuration Files
+#define FN_CONF_EDITABLE "etc/editable" // 站務可編輯的系統檔案列表
+#define FN_CONF_RESERVED_ID "etc/reserved.id" // 保留系統用無法註冊的 ID
+#define FN_CONF_BINDPORTS "etc/bindports.conf" // 預設要提供連線服務的 port 列表
+
+// BBS Data File Names
#define FN_PASSWD BBSHOME "/.PASSWDS" /* User records */
#define FN_CHICKEN "chicken"
#define FN_USSONG "ussong" /* 點歌統計 */
@@ -35,7 +41,6 @@
#define FN_TICKET_BRDLIST "boardlist"
#define FN_BRDLISTHELP "etc/boardlist.help"
#define FN_BOARDHELP "etc/board.help"
-#define FN_RESERVED_ID "etc/reserved.id" // 保留系統用無法註冊的 ID
#define FN_USERMEMO "memo.txt" // 使用者個人記事本
#define FN_BADLOGIN "logins.bad" // in BBSHOME & user directory