summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-23 01:57:57 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-23 01:57:57 +0800
commitb102f5f44888896e44c8af86ec4bf759e2565d85 (patch)
tree35de39bfdd67850e37ece7d90310696d9e29e118 /include/proto.h
parentfd20564209c77de3975e708a5646731d76e62d92 (diff)
downloadpttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar.gz
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar.bz2
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar.lz
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar.xz
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.tar.zst
pttbbs-b102f5f44888896e44c8af86ec4bf759e2565d85.zip
Warning, API semantic changes.
searchuser() rejects empty userid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index fb26c5c4..ae3a7b99 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -118,6 +118,7 @@ void brc_addlist(const char* fname);
void sort_bcache(void);
int getuser(const char *userid, userec_t *xuser);
void setuserid(int num, const char *userid);
+int dosearchuser(const char *userid, char *rightid);
int searchuser(const char *userid, char *rightid);
int getbnum(const char *bname);
void touchbpostnum(int bid, int delta);