summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/include/proto.h b/include/proto.h
index 667b9950..005dcb17 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -68,6 +68,7 @@ void ReadSelect(void);
int save_violatelaw(void);
int board_select(void);
int board_digest(void);
+int do_limitedit(int ent, fileheader_t * fhdr, char *direct);
/* board */
#define setutmpbid(bid) currutmp->brc_id=bid;
@@ -668,7 +669,6 @@ int vice_main(void);
/* voteboard */
int do_voteboard(int);
void do_voteboardreply(fileheader_t *fhdr);
-int do_votelimitedit(int ent, fileheader_t * fhdr, char *direct);
/* xyz */
int m_sysop(void);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index fd1acece..a7df3568 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -165,11 +165,13 @@ typedef struct boardheader_t {
char BM[IDLEN * 3 + 3]; /* BMs' userid, token '/' */
unsigned int brdattr; /* board妮┦ */
char chesscountry;
- unsigned char limit_posts; /* 硈竝 : ゅ彻絞计 */
- unsigned char limit_logins; /* 硈竝 : 祅Ω计 */
+ unsigned char vote_limit_posts; /* 硈竝 : ゅ彻絞计 */
+ unsigned char vote_limit_logins; /* 硈竝 : 祅Ω计 */
char pad[1]; /* ⊿ノ */
time_t bupdate; /* note update time */
- char pad2[3]; /* ⊿ノ */
+ unsigned char post_limit_posts; /* 祇ゅ彻 : ゅ彻絞计 */
+ unsigned char post_limit_logins; /* 祇ゅ彻 : 祅Ω计 */
+ char pad2[1]; /* ⊿ノ */
unsigned char bvote; /* タ羭快 Vote 计 */
time_t vtime; /* Vote close time */
unsigned int level; /* 狾舦 */