X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fclient.h;h=6fcf7b64e22fe35f65c5fe64d2ff135813dee84b;hp=63406f203c13db57c3f9c9b615ed3d07687b881d;hb=3243d9ee441e9cd4338965bac7c2ed3b49a3c2dd;hpb=98a8ea105cccd0607f7f2949602580104c098d84 diff --git a/src/ngircd/client.h b/src/ngircd/client.h index 63406f20..6fcf7b64 100644 --- a/src/ngircd/client.h +++ b/src/ngircd/client.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) + * Copyright (c)2001-2008 Alexander Barton (alex@barton.de) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -8,16 +8,12 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: client.h,v 1.46 2007/01/23 16:07:19 alex Exp $ - * * Client management (header) */ - #ifndef __client_h__ #define __client_h__ - #define CLIENT_UNKNOWN 1 /* connection of unknown type */ #define CLIENT_GOTPASS 2 /* client did send PASS */ #define CLIENT_GOTNICK 4 /* client did send NICK */ @@ -26,6 +22,7 @@ #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_GOTPASS_2813 256 /* client did send PASS, RFC 2813 style */ #define CLIENT_TYPE int @@ -149,8 +146,8 @@ GLOBAL int Client_GetLastWhowasIndex PARAMS(( void )); GLOBAL void Client_RegisterWhowas PARAMS(( CLIENT *Client )); +GLOBAL char * Client_TypeText PARAMS((CLIENT *Client)); #endif - /* -eof- */