X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fclient.h;h=0de367956bd8c5ebfb93b800d2c19a6583db6b58;hp=73de52b5cd7e49dd89b6b0725d2600368b4c79a3;hb=018e3516303dacbf6aaf277fd0104e13bc9c8455;hpb=87f4b1c6f64f85556533f01d95da1cf83a91d4c6 diff --git a/src/ngircd/client.h b/src/ngircd/client.h index 73de52b5..0de36795 100644 --- a/src/ngircd/client.h +++ b/src/ngircd/client.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: client.h,v 1.42 2006/04/23 10:37:27 fw Exp $ + * $Id: client.h,v 1.45 2006/10/07 10:40:52 fw Exp $ * * Client management (header) */ @@ -23,10 +23,9 @@ #define CLIENT_GOTNICK 4 /* client did send NICK */ #define CLIENT_GOTUSER 8 /* client did send USER */ #define CLIENT_USER 16 /* client is an IRC user */ -#define CLIENT_UNKNOWNSERVER 32 /* unregistered server connection */ -#define CLIENT_GOTPASSSERVER 64 /* client did send PASS in "server style" */ -#define CLIENT_SERVER 128 /* client is a server */ -#define CLIENT_SERVICE 256 /* client is a service */ +#define CLIENT_SERVER 32 /* client is a server */ +#define CLIENT_SERVICE 64 /* client is a service */ +#define CLIENT_UNKNOWNSERVER 128 /* unregistered server connection */ #define CLIENT_TYPE int @@ -138,15 +137,15 @@ GLOBAL bool Client_CheckID PARAMS(( CLIENT *Client, char *ID )); GLOBAL long Client_UserCount PARAMS(( void )); GLOBAL long Client_ServiceCount PARAMS(( void )); GLOBAL long Client_ServerCount PARAMS(( void )); -GLOBAL long Client_OperCount PARAMS(( void )); -GLOBAL long Client_UnknownCount PARAMS(( void )); +GLOBAL unsigned long Client_OperCount PARAMS(( void )); +GLOBAL unsigned long Client_UnknownCount PARAMS(( void )); GLOBAL long Client_MyUserCount PARAMS(( void )); GLOBAL long Client_MyServiceCount PARAMS(( void )); -GLOBAL long Client_MyServerCount PARAMS(( void )); +GLOBAL unsigned long Client_MyServerCount PARAMS(( void )); GLOBAL long Client_MaxUserCount PARAMS(( void )); GLOBAL long Client_MyMaxUserCount PARAMS(( void )); -GLOBAL bool Client_IsValidNick PARAMS(( char *Nick )); +GLOBAL bool Client_IsValidNick PARAMS(( const char *Nick )); GLOBAL WHOWAS *Client_GetWhowas PARAMS(( void )); GLOBAL int Client_GetLastWhowasIndex PARAMS(( void ));