From 0abd9b3e52bc47a05af81c82aa054d60f7011019 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 6 Jan 2007 12:01:42 +0000 Subject: Automatically delete cross post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index 79d1a9b7..eb3b3628 100644 --- a/include/proto.h +++ b/include/proto.h @@ -60,6 +60,7 @@ int inc_badsale(const char *, int num); //void set_assess(int uid, unsigned char num, int type); /* bbs */ +void delete_allpost(); int invalid_brdname(const char *brd); void chomp(char *src); int del_range(int ent, const fileheader_t *fhdr, const char *direct); @@ -499,11 +500,13 @@ int substitute_record(const char *fpath, const void *rptr, int size, int id); int lock_substitute_record(const char *fpath, void *rptr, int size, int id, int); int get_record(const char *fpath, void *rptr, int size, int id); int get_record_keep(const char *fpath, void *rptr, int size, int id, int *fd); +int get_record_keep_seek(const char *fpath, void *rptr, int size, int id, int *fd, int toseek); int append_record(const char *fpath, const fileheader_t *record, int size); int stampfile(char *fpath, fileheader_t *fh); void stampdir(char *fpath, fileheader_t *fh); int get_num_records(const char *fpath, int size); int get_records(const char *fpath, void *rptr, int size, int id, int number); +int get_records_fd(const char *fpath, void *rptr, int size, int id, int number, int *use_fd); void stamplink(char *fpath, fileheader_t *fh); int delete_record(const char fpath[], int size, int id); int delete_files(const char* dirname, int (*filecheck)(), int record); -- cgit v1.2.3