"Fossies" - the Fresh Open Source Software Archive 
Member "libspf2-1.2.10/src/libspf2/spf_log_default.c" (28 Jan 2012, 959 Bytes) of package /linux/privat/libspf2-1.2.10.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "spf_log_default.c" see the
Fossies "Dox" file reference documentation.
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of either:
4 *
5 * a) The GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1, or (at your option) any
7 * later version,
8 *
9 * OR
10 *
11 * b) The two-clause BSD license.
12 *
13 * These licenses can be found with the distribution in the file LICENSES
14 */
15
16
17 #include "spf_sys_config.h"
18
19 #include "spf.h"
20 #include "spf_internal.h"
21
22
23 /**
24 * @file
25 * Audited, 2008-09-13, Shevek.
26 * TODO: Move into spf_log.c ?
27 */
28
29 void (*SPF_error_handler)( const char *, int, const char * ) __attribute__ ((noreturn)) = SPF_DEFAULT_ERROR_HANDLER;
30 void (*SPF_warning_handler)( const char *, int, const char * ) = SPF_DEFAULT_WARNING_HANDLER;
31 void (*SPF_info_handler)( const char *, int, const char * ) = SPF_DEFAULT_INFO_HANDLER;
32 void (*SPF_debug_handler)( const char *, int, const char * ) = SPF_DEFAULT_DEBUG_HANDLER;