summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h7
-rw-r--r--include/proto.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 7ef044ea..b0d1a61f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -33,6 +33,7 @@
#define FN_TICKET_BRDLIST "boardlist"
#define FN_BRDLISTHELP "etc/boardlist.help"
#define FN_BOARDHELP "etc/board.help"
+#define FN_USERMEMO "memo.txt" // 使用者個人記事本
// 自訂刪除文章時出現的標題與檔案
@@ -252,6 +253,12 @@
#define TYPEAHEAD_STDIN (0)
/* ----------------------------------------------------- */
+/* Constants */
+/* ----------------------------------------------------- */
+#define DAY_SECONDS (86400)
+#define MONTH_SECONDS (DAY_SECONDS*30)
+
+/* ----------------------------------------------------- */
/* Macros */
/* ----------------------------------------------------- */
diff --git a/include/proto.h b/include/proto.h
index affb2c26..74139931 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -629,6 +629,7 @@ int is_uBM(const char *list, const char *id);
void FREE(void *ptr);
#endif
void syncnow(void);
+void wait_penalty(int sec);
/* syspost */
int post_msg(const char* bname, const char* title, const char *msg, const char* author);