summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-06-12 22:59:46 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-06-12 22:59:46 +0800
commited870cef48392b5006d413b043589eb866988a87 (patch)
treeb6dc781083029411b9c490eccf48aede211e5797 /include
parentb1742a061cfe32ebd4619a8f8a91812eaaf58bc0 (diff)
downloadpttbbs-ed870cef48392b5006d413b043589eb866988a87.tar
pttbbs-ed870cef48392b5006d413b043589eb866988a87.tar.gz
pttbbs-ed870cef48392b5006d413b043589eb866988a87.tar.bz2
pttbbs-ed870cef48392b5006d413b043589eb866988a87.tar.lz
pttbbs-ed870cef48392b5006d413b043589eb866988a87.tar.xz
pttbbs-ed870cef48392b5006d413b043589eb866988a87.tar.zst
pttbbs-ed870cef48392b5006d413b043589eb866988a87.zip
revise brc interface and its document.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/proto.h b/include/proto.h
index c5afa9b2..eef17976 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -100,15 +100,16 @@ void sigfree(int);
/* brc */
int brc_initialize(void);
void brc_finalize(void);
-int brc_unread(const char *fname, int bnum, const time4_t *blist);
-int brc_unread_time(time4_t ftime, int bnum, const time4_t *blist);
+
+int brc_unread(int bid, const char *fname);
+int brc_unread_time(int bid, time4_t ftime);
int brc_initial_board(const char *boardname);
-void brc_update(void);
-int brc_read_record(int bid, int *num, time4_t *list);
-time4_t * brc_find_record(int bid, int *num);
-void brc_trunc(int bid, time4_t ftime);
void brc_addlist(const char* fname);
+void brc_update(void);
+
+void brc_toggle_all_read(int bid, int is_all_read);
+
/* cache */
#define demoney(money) deumoney(usernum, money)
#define search_ulist(uid) search_ulistn(uid, 1)