diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-19 10:38:21 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-19 10:38:21 +0800 |
commit | 61a95bca5bfeb8426bcb6616d10f5eacfc9de612 (patch) | |
tree | 3b4082529f14af89a8acde1c03c24036eff5739d /include/cmbbs.h | |
parent | 8cb29110950daa71ef6247ed5d0ba1ea9320fa20 (diff) | |
download | pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar.gz pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar.bz2 pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar.lz pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar.xz pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.tar.zst pttbbs-61a95bca5bfeb8426bcb6616d10f5eacfc9de612.zip |
Move stamp* to common library, with weak symbols
Remove stamplink
Header file cleanup
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/cmbbs.h')
-rw-r--r-- | include/cmbbs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cmbbs.h b/include/cmbbs.h index 52a5709e..149a6ae9 100644 --- a/include/cmbbs.h +++ b/include/cmbbs.h @@ -1,6 +1,8 @@ #ifndef _LIBBBS_H_ #define _LIBBBS_H_ +#include "pttstruct.h" /* for fileheader_t */ + /* name.c */ extern int is_validuserid(const char *id); @@ -32,4 +34,9 @@ extern void obfuscate_ipstr(char *s); /* time.c */ extern const char *Now(); // m3 flavor time string +/* fhdr_stamp.c */ +extern int stampfile(char *fpath, fileheader_t * fh); +extern int stampdir(char *fpath, fileheader_t * fh); +//extern int stamplink(char *fpath, fileheader_t * fh); + #endif |