diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-18 18:50:02 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-18 18:50:02 +0800 |
commit | db954b44399033c47b1a2cf3f680561c9a770781 (patch) | |
tree | c87feb9a719c846f2d892bb09b5b752304d7444c /include | |
parent | 39190232807f87402391b240281ec1f36954071a (diff) | |
download | pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar.gz pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar.bz2 pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar.lz pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar.xz pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.tar.zst pttbbs-db954b44399033c47b1a2cf3f680561c9a770781.zip |
* 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
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |