summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-30 04:11:24 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-30 04:11:24 +0800
commit95f0b420db24db279e1fb25b26973acf229e53e8 (patch)
tree72bd3843dbb180d2d78d998aa59431bffaf1b044 /include/proto.h
parent1091228603cdb191d3c02e0f22468310140d0f32 (diff)
downloadpttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.gz
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.bz2
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.lz
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.xz
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.tar.zst
pttbbs-95f0b420db24db279e1fb25b26973acf229e53e8.zip
faster passwd by lower the lseek.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 5c423bbb..25857b96 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -644,8 +644,10 @@ unsigned StringHash(unsigned char *s);
/* passwd */
int passwd_init();
int passwd_update(int num, userec_t *buf);
+int passwd_index_update(int num, userec_t *buf);
int passwd_query(int num, userec_t *buf);
-int passwd_apply(int (*fptr)(userec_t *));
+int passwd_index_query(int num, userec_t *buf);
+int passwd_apply(int (*fptr)(int, userec_t *));
void passwd_lock();
void passwd_unlock();
int passwd_update_money(int num);