summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 13:36:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 13:36:03 +0800
commit566c210f2b2f650e15569dc263b113710636eec9 (patch)
tree57c86c9a158d38b151748aa7e5a19c6d4ce5e710 /include/proto.h
parent256c65c5b93d4213540676a42c81744b0ffeb7d8 (diff)
downloadpttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.gz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.bz2
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.lz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.xz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.zst
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.zip
* use SAFE_ARTICLE_DELETE even if nuser < 30
* because we can make rich UI to allow leaving delete reasons in this mode * also because it's stupid to determine by magic 30 * changed board name UnAnonymous to macro in config.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index 400a6db7..879d9a8a 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -434,12 +434,12 @@ void UnTagger (int locus);
int stampfile_u(char *fpath, fileheader_t *fh);
int stampadir(char *fpath, fileheader_t * fh, int large_set);
int delete_files(const char* dirname, int (*filecheck)(), int record);
-void set_safedel_fhdr(fileheader_t *fhdr);
+void set_safedel_fhdr(fileheader_t *fhdr, const char *newtitle);
#ifdef SAFE_ARTICLE_DELETE
#ifndef _BBS_UTIL_C_
void safe_delete_range(const char *fpath, int id1, int id2);
#endif
-int safe_article_delete(int ent, const fileheader_t *fhdr, const char *direct);
+int safe_article_delete(int ent, const fileheader_t *fhdr, const char *direct, const char *newtitle);
int safe_article_delete_range(const char *direct, int from, int to);
#endif
int delete_file(const char *dirname, int size, int ent, int (*filecheck)());