X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fclient.h;h=14967911b5fffda3b4a2628ee0b80c1020232b83;hb=9b1f5beca29ec78141f19a19d689f0f7cc3fe3ac;hp=e5aa4a25b36b730b57fb23fc67a6aa54b018907c;hpb=9e97df973e333c18f65f251a213fcf736e52653f;p=ircu2.10.12-pk.git diff --git a/include/client.h b/include/client.h index e5aa4a2..1496791 100644 --- a/include/client.h +++ b/include/client.h @@ -37,14 +37,13 @@ #ifndef INCLUDED_ircd_handler_h #include "ircd_handler.h" #endif +#ifndef INCLUDED_res_h +#include "res.h" +#endif #ifndef INCLUDED_sys_types_h #include /* time_t, size_t */ #define INCLUDED_sys_types_h #endif -#ifndef INCLUDED_netinet_in_h -#include /* in_addr */ -#define INCLUDED_netinet_in_h -#endif struct ConfItem; struct Listener; @@ -234,13 +233,13 @@ struct Client { */ time_t cli_lasttime; /* last time data read from socket */ time_t cli_since; /* last time we parsed something, flood control */ - + time_t cli_firsttime; /* time client was created */ time_t cli_lastnick; /* TimeStamp on nick */ int cli_marker; /* /who processing marker */ struct Flags cli_flags; /* client flags */ unsigned int cli_hopcount; /* number of servers to this 0 = local */ - struct in_addr cli_ip; /* Real ip# NOT defined for remote servers! */ + struct irc_in_addr cli_ip; /* Real IP of client */ short cli_status; /* Client type */ unsigned char cli_local; /* local or remote client */ struct Privs cli_privs; /* Oper privileges */