Annotation of ircnowd/src/tool/tool.h, Revision 1.1.1.1
1.1 tomglok 1: /*
2: * ngIRCd -- The Next Generation IRC Daemon
3: * Copyright (c)2001-2010 Alexander Barton (alex@barton.de)
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 __tool_h__
13: #define __tool_h__
14:
15: /**
16: * @file
17: * Tool functions (Header)
18: */
19:
20: #include "portab.h"
21:
22: GLOBAL void ngt_TrimLastChr PARAMS((char *String, const char Chr ));
23:
24: GLOBAL void ngt_TrimStr PARAMS((char *String ));
25:
26: GLOBAL char *ngt_UpperStr PARAMS((char *String ));
27: GLOBAL char *ngt_LowerStr PARAMS((char *String ));
28:
29: GLOBAL char *ngt_RandomStr PARAMS((char *String, const size_t len));
30:
31: #ifdef SYSLOG
32: GLOBAL const char *ngt_SyslogFacilityName PARAMS((int Facility));
33: GLOBAL int ngt_SyslogFacilityID PARAMS((char *Name, int DefaultFacility));
34: #endif
35:
36: #endif
37:
38: /* -eof- */
CVSweb