From db954b44399033c47b1a2cf3f680561c9a770781 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 18 Aug 2009 10:50:02 +0000 Subject: * refine stampdir behavior * we don't want massive user to use man(announce) as blog/home, so restrict folder number back to 4096 * for deleted/junk boards, they need to use large set (65535) because they may contain all boards from entire site git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index 96aa0290..a2782513 100644 --- a/include/proto.h +++ b/include/proto.h @@ -429,6 +429,7 @@ void EnumTagFhdr(fileheader_t *fhdr, char *direct, int locus); void UnTagger (int locus); /* record */ 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); #ifdef SAFE_ARTICLE_DELETE -- cgit v1.2.3