summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/proto.h5
-rw-r--r--include/pttstruct.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index 93c4a92f..74de00da 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -20,7 +20,8 @@ int m_register();
int cat_register();
unsigned int setperms(unsigned int pbits, char *pstring[]);
void setup_man(boardheader_t * board);
-int make_symbolic_link(int gid, int bid);
+int make_symbolic_link(char *bname, int gid);
+int make_symbolic_link_interactively(int gid);
/* announce */
int a_menu(char *maintitle, char *path, int lastlevel);
@@ -75,7 +76,7 @@ int brc_unread(const char *fname, int bnum, const int *blist);
int brc_initial(const char *boardname);
void brc_update();
void brc_finalize();
-int Ben_Perm(boardheader_t *bptr);
+int HasPerm(boardheader_t *bptr);
int New();
int Boards();
int root_board();
diff --git a/include/pttstruct.h b/include/pttstruct.h
index eef261ff..0e4b4bf2 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -164,6 +164,9 @@ typedef struct boardheader_t {
#define BRD_BMCOUNT 000040000 /* 板主設定列入記錄 */
#define BRD_SYMBOLIC 000100000 /* symbolic link to board */
+#define BRD_LINK_TARGET(x) ((x)->postexpire)
+
+
#define TTLEN 64 /* Length of title */
#define FNLEN 33 /* Length of filename */