summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-15 23:35:28 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-15 23:35:28 +0800
commit037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a (patch)
tree0697e1eadaeea1a57b22ebe8db772f5edadbc348 /include/proto.h
parent6cd1e2dd9904da07992c18b77f0586a4d77b61de (diff)
downloadpttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar.gz
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar.bz2
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar.lz
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar.xz
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.tar.zst
pttbbs-037cd65ffe0cf7110d6eed2d98ddf9d6cc175c3a.zip
for SAFE_ARTICLE_DELETE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index bbe7d787..06e22315 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -423,6 +423,9 @@ int get_records(char *fpath, void *rptr, int size, int id, int number);
void stamplink(char *fpath, fileheader_t *fh);
int delete_record(char fpath[], int size, int id);
int delete_files(char* dirname, int (*filecheck)(), int record);
+#ifdef SAFE_ARTICLE_DELETE
+int safe_article_delete(int ent, fileheader_t *fhdr, char *direct);
+#endif
int delete_file(char *dirname, int size, int ent, int (*filecheck)());
int delete_range(char *fpath, int id1, int id2);
int apply_record(char *fpath, int (*fptr)(), int size);