diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-06 22:24:50 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-06 22:24:50 +0800 |
commit | 2cf681116231eb085a985917ae19188f06dc041e (patch) | |
tree | 43a55cb156587c9451d27ea3aaaa1a0ad9e51a5c /include/common.h | |
parent | 9c4e5e52c6b9de0ff0873fd76a3d187a19fb45da (diff) | |
download | pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar.gz pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar.bz2 pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar.lz pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar.xz pttbbs-2cf681116231eb085a985917ae19188f06dc041e.tar.zst pttbbs-2cf681116231eb085a985917ae19188f06dc041e.zip |
- refine and prepare for login daemon:
* change str_guest and str_new to macro definition names
* make passwd utilites (check, verify, ...) available in util_passwd
* make logattemtp() use assigned time and host.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4498 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 7ada007b..8cb003ed 100644 --- a/include/common.h +++ b/include/common.h @@ -2,7 +2,9 @@ #ifndef INCLUDE_COMMON_H #define INCLUDE_COMMON_H -#define STR_GUEST "guest" +#define STR_GUEST "guest" // guest account +#define STR_REGNEW "new" // 用來建新帳號的名稱 + #define DEFAULT_BOARD str_sysop #define FN_PASSWD BBSHOME "/.PASSWDS" /* User records */ @@ -35,6 +37,7 @@ #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 // 自訂刪除文章時出現的標題與檔案 |