]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/conn-encoding.h
Specify session context for OpenSSL clients
[ngircd-alex.git] / src / ngircd / conn-encoding.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
4  *
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.
10  */
11
12 #ifndef __conn_encoding_h__
13 #define __conn_encoding_h__
14
15 /**
16  * @file
17  * Functions to deal with character encodings and conversions (header)
18  */
19
20 #ifdef ICONV
21
22 GLOBAL bool Conn_SetEncoding PARAMS((CONN_ID Idx, const char *ClientEnc));
23 GLOBAL void Conn_UnsetEncoding PARAMS((CONN_ID Idx));
24
25 #endif /* ICONV */
26
27 GLOBAL char* Conn_EncodingFrom PARAMS((CONN_ID Idx, char *Message));
28 GLOBAL char* Conn_EncodingTo PARAMS((CONN_ID Idx, char *Message));
29
30 #endif