summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 06:10:26 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 06:10:26 +0800
commit1dd51c66faad839bc24fed6a3ec2303eae4d969e (patch)
tree7b0d7f9f698a763d1fc18f2788ca9defe33e54d0 /include
parente4bb2cf60d983f0f73af06c1d8b3576238c81cda (diff)
downloadpttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar.gz
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar.bz2
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar.lz
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar.xz
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.tar.zst
pttbbs-1dd51c66faad839bc24fed6a3ec2303eae4d969e.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1333 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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;