2001-12-11 22:53:04 +01:00
|
|
|
/*
|
|
|
|
* ngIRCd -- The Next Generation IRC Daemon
|
2010-09-24 16:29:55 +02:00
|
|
|
* Copyright (c)2001-2010 Alexander Barton (alex@barton.de)
|
2001-12-11 22:53:04 +01:00
|
|
|
*
|
2002-12-12 13:23:43 +01:00
|
|
|
* 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.
|
2001-12-11 22:53:04 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __tool_h__
|
|
|
|
#define __tool_h__
|
2010-12-27 17:14:14 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Tool functions (Header)
|
|
|
|
*/
|
|
|
|
|
2007-11-23 17:26:03 +01:00
|
|
|
#include "portab.h"
|
2001-12-11 22:53:04 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL void ngt_TrimLastChr PARAMS((char *String, const char Chr ));
|
2005-02-04 14:09:03 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL void ngt_TrimStr PARAMS((char *String ));
|
2001-12-11 22:53:04 +01:00
|
|
|
|
2008-08-17 13:49:32 +02:00
|
|
|
GLOBAL char *ngt_UpperStr PARAMS((char *String ));
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL char *ngt_LowerStr PARAMS((char *String ));
|
2008-08-17 13:49:32 +02:00
|
|
|
|
2012-08-02 13:53:46 +02:00
|
|
|
GLOBAL char *ngt_RandomStr PARAMS((char *String, const size_t len));
|
|
|
|
|
2010-09-24 16:29:55 +02:00
|
|
|
#ifdef SYSLOG
|
2010-10-05 20:16:35 +02:00
|
|
|
GLOBAL const char *ngt_SyslogFacilityName PARAMS((int Facility));
|
2010-09-24 16:29:55 +02:00
|
|
|
GLOBAL int ngt_SyslogFacilityID PARAMS((char *Name, int DefaultFacility));
|
|
|
|
#endif
|
|
|
|
|
2001-12-11 22:53:04 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* -eof- */
|