libspf2  1.2.10
spf_log_default.c
Go to the documentation of this file.
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 
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;
SPF_error_handler
void(* SPF_error_handler)(const char *, int, const char *) __attribute__((noreturn))
SPF_info_handler
void(* SPF_info_handler)(const char *, int, const char *)
__attribute__
#define __attribute__(x)
Definition: spf.h:17
spf.h
SPF_DEFAULT_DEBUG_HANDLER
#define SPF_DEFAULT_DEBUG_HANDLER
Definition: spf_log.h:104
SPF_debug_handler
void(* SPF_debug_handler)(const char *, int, const char *)
SPF_DEFAULT_ERROR_HANDLER
#define SPF_DEFAULT_ERROR_HANDLER
Definition: spf_log.h:101
SPF_warning_handler
void(* SPF_warning_handler)(const char *, int, const char *)
spf_internal.h
SPF_DEFAULT_WARNING_HANDLER
#define SPF_DEFAULT_WARNING_HANDLER
Definition: spf_log.h:102
SPF_DEFAULT_INFO_HANDLER
#define SPF_DEFAULT_INFO_HANDLER
Definition: spf_log.h:103
spf_sys_config.h