From ed870cef48392b5006d413b043589eb866988a87 Mon Sep 17 00:00:00 2001 From: kcwu Date: Tue, 12 Jun 2007 14:59:46 +0000 Subject: revise brc interface and its document. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include') 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) -- cgit v1.2.3