diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:40:30 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:40:30 +0800 |
commit | d4265cc0736b7ac190ee049c0f13e6054eb789d7 (patch) | |
tree | d525278490378b2a66174ef7bab95647aa69cd28 | |
parent | 78fb3360dce649e364996f22e4841c2e550fb9f7 (diff) | |
download | pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar.gz pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar.bz2 pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar.lz pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar.xz pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.tar.zst pttbbs-d4265cc0736b7ac190ee049c0f13e6054eb789d7.zip |
namecomplete return the position
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | include/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/proto.h b/include/proto.h index 6d2c3049..444c58d2 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.16 2002/05/24 15:52:22 ptt Exp $ */ +/* $Id: proto.h,v 1.17 2002/05/24 16:40:30 in2 Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -297,9 +297,9 @@ void ShowNameList(int row, int column, char *prompt); int RemoveNameList(char *name); void ToggleNameList(int *reciper, char *listfile, char *msg); void allboardcomplete(char *prompt, char *data, int len); -void generalnamecomplete(char *prompt, char *data, int len, size_t nmemb, - int (*compar)(int, char *, int), - int (*permission)(int), char* (*getname)(int)); +int generalnamecomplete(char *prompt, char *data, int len, size_t nmemb, + int (*compar)(int, char *, int), + int (*permission)(int), char* (*getname)(int)); int completeboard_compar(int where, char *str, int len); int completeboard_permission(int where); char *completeboard_getname(int where); |