From 5588e96b39c1b7d8df72b9d370637de303af44fe Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 11 Jun 2009 05:30:07 +0000 Subject: * 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 --- include/common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3