X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconn.h;h=9236c58ba7767a7be858a6a331abeedc78e02221;hb=a78c7b3898e8f2b037fb42aac599ed8f8ec9bd58;hp=e42a2ae6a7ac1c1466ade3a8124650a489e61715;hpb=01b62202b2caa1b8161e62f149a9d6f705713869;p=ngircd-alex.git diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index e42a2ae6..9236c58b 100644 --- a/src/ngircd/conn.h +++ b/src/ngircd/conn.h @@ -54,6 +54,10 @@ typedef int CONN_ID; #include "tool.h" #include "ng_ipaddr.h" +#ifdef ICONV +# include +#endif + #ifdef ZLIB #include typedef struct _ZipData @@ -95,6 +99,10 @@ typedef struct _Connection #ifndef STRICT_RFC long auth_ping; /** PING response expected on login */ #endif +#ifdef ICONV + iconv_t iconv_from; /** iconv: convert from client to server */ + iconv_t iconv_to; /** iconv: convert from server to client */ +#endif } CONNECTION; GLOBAL CONNECTION *My_Connections;