]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/client.h
moved invite/ban lists to channel structure
[ngircd-alex.git] / src / ngircd / client.h
index dedae2fbe730a1f41478ea01ebc5795142cc8e7d..0de367956bd8c5ebfb93b800d2c19a6583db6b58 100644 (file)
@@ -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.41 2006/03/11 01:37:31 alex Exp $
+ * $Id: client.h,v 1.45 2006/10/07 10:40:52 fw Exp $
  *
  * Client management (header)
  */
 #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
 
+#include "defines.h"
 
 #if defined(__client_c__) | defined(S_SPLINT_S)
 
@@ -86,7 +86,6 @@ GLOBAL void Client_DestroyNow PARAMS(( CLIENT *Client ));
 
 GLOBAL CLIENT *Client_ThisServer PARAMS(( void ));
 
-GLOBAL CLIENT *Client_GetFromConn PARAMS(( CONN_ID Idx ));
 GLOBAL CLIENT *Client_GetFromToken PARAMS(( CLIENT *Client, int Token ));
 
 GLOBAL CLIENT *Client_Search PARAMS(( char *ID ));
@@ -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 ));