Added SILC Thread Queue API
[silc.git] / lib / silcutil / silclog_i.h
1 /*
2
3   silclog_i.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2005 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; version 2 of the License.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19
20 #ifndef SILCLOG_I_H
21 #define SILCLOG_I_H
22
23 #ifndef SILCLOG_H
24 #error "Do not include this header directly"
25 #endif
26
27 #if defined(SILC_WIN32)
28 #ifndef __FUNCTION__
29 #define __FUNCTION__ __FILE__
30 #endif
31 #endif
32
33 void silc_log_output(SilcLogType type, char *string);
34 void silc_log_output_debug(char *file, const char *function,
35                            int line, char *string);
36 void silc_log_output_hexdump(char *file, const char *function,
37                              int line, void *data_in,
38                              SilcUInt32 len, char *string);
39
40 #endif /* SILCLOG_I_H */