2 * ngIRCd -- The Next Generation IRC Daemon
3 * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 * Please read the file COPYING, README and AUTHORS for more information.
12 #ifndef __conn_encoding_h__
13 #define __conn_encoding_h__
17 * Functions to deal with character encodings and conversions (header)
22 GLOBAL bool Conn_SetEncoding PARAMS((CONN_ID Idx, const char *ClientEnc));
23 GLOBAL void Conn_UnsetEncoding PARAMS((CONN_ID Idx));
27 GLOBAL char* Conn_EncodingFrom PARAMS((CONN_ID Idx, char *Message));
28 GLOBAL char* Conn_EncodingTo PARAMS((CONN_ID Idx, char *Message));