summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/proto.h1
-rw-r--r--include/pttstruct.h5
3 files changed, 5 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 786f13df..a1a0ee29 100644
--- a/include/common.h
+++ b/include/common.h
@@ -9,7 +9,6 @@
#define FN_USSONG "ussong" /* 點歌統計 */
#define FN_POST_NOTE "post.note" /* po文章備忘錄 */
#define FN_POST_BID "post.bid"
-#define FN_APPLICATION "application"
#define FN_MONEY "etc/money"
#define FN_OVERRIDES "overrides"
#define FN_REJECT "reject"
diff --git a/include/proto.h b/include/proto.h
index e2acaa98..68146f79 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -433,6 +433,7 @@ int dashd(char *fname);
int invalid_pname(char *str);
void setbdir(char *buf, char *boardname);
void setbfile(char *buf, char *boardname, char *fname);
+void setbnfile(char *buf, char *boardname, char *fname, int n);
int dashl(char *fname);
char *subject(char *title);
int not_alnum(char ch);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 2bcb7ed1..293ec677 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -141,7 +141,9 @@ typedef struct boardheader_t {
int nuser; /* 多少人在這板 */
int postexpire; /* postexpire */
time_t endgamble;
- char pad3[84];
+ char posttype[33];
+ char posttype_f;
+ char pad3[50];
} boardheader_t;
#define BRD_NOZAP 000000001 /* 不可zap */
@@ -372,6 +374,7 @@ typedef struct {
char today_is[20];
int n_notes[MAX_MOVIE_SECTION]; /* 一節中有幾個 看板 */
int next_refresh[MAX_MOVIE_SECTION]; /* 下一次要refresh的 看板 */
+ msgque_t loginmsg; /* 進站水球 */
int max_film;
int max_history;
time_t Puptime;