diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-08 00:01:56 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-08 00:01:56 +0800 |
commit | 1812d5521f71bf6726cd959308cb4628c5a1951c (patch) | |
tree | f61c5be32e335668ddddeca1e28459605a220b6c /include | |
parent | 80d861dff5d757ef5827054a0633fdbe56ff356a (diff) | |
download | pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.gz pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.bz2 pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.lz pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.xz pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.zst pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.zip |
- register: Regform2 API prototype (for concurrent registration form validation) [not applied yet]
- file/passwd/assess: API finetune
- menu: menu item finetune
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index 84c2ae5a..1c594cdb 100644 --- a/include/proto.h +++ b/include/proto.h @@ -287,8 +287,11 @@ void reginit_fav(void); /* file */ int file_count_line(const char *file); -int file_append_line(const char *file, const char *string); -int file_exist_record(const char *file, const char *string); +int file_append_line(const char *file, const char *string); // does not append "\n" +int file_append_record(const char *file, const char *key); // will append "\n" +int file_exist_record(const char *file, const char *key); +int file_find_record(const char *file, const char *key); +int file_delete_record(const char *file, const char *key, int case_sensitive); /* friend */ void friend_edit(int type); @@ -828,6 +831,7 @@ int passwd_apply(void *data, int (*fptr)(void *, int, userec_t *)); void passwd_lock(void); void passwd_unlock(void); int passwd_update_money(int num); +void passwd_force_update(int flag); int initcuser(const char *userid); int freecuser(void); |