[BACK]Return to conn-encoding.h CVS log [TXT][DIR] Up to [local] / ircnowd / src / ngircd

File: [local] / ircnowd / src / ngircd / conn-encoding.h (download)

Revision 1.1.1.1 (vendor branch), Fri May 7 10:46:35 2021 UTC (3 years, 2 months ago) by bountyht
Branch: ngircd, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines

Initial import from ngIRCd 26.1

/*
 * ngIRCd -- The Next Generation IRC Daemon
 * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
 *
 * 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
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * Please read the file COPYING, README and AUTHORS for more information.
 */

#ifndef __conn_encoding_h__
#define __conn_encoding_h__

/**
 * @file
 * Functions to deal with character encodings and conversions (header)
 */

#ifdef ICONV

GLOBAL bool Conn_SetEncoding PARAMS((CONN_ID Idx, const char *ClientEnc));
GLOBAL void Conn_UnsetEncoding PARAMS((CONN_ID Idx));

#endif /* ICONV */

GLOBAL char* Conn_EncodingFrom PARAMS((CONN_ID Idx, char *Message));
GLOBAL char* Conn_EncodingTo PARAMS((CONN_ID Idx, char *Message));

#endif