libspf2 1.2.11
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
29void (*SPF_error_handler)( const char *, int, const char * ) __attribute__ ((noreturn)) = SPF_DEFAULT_ERROR_HANDLER;
30void (*SPF_warning_handler)( const char *, int, const char * ) = SPF_DEFAULT_WARNING_HANDLER;
31void (*SPF_info_handler)( const char *, int, const char * ) = SPF_DEFAULT_INFO_HANDLER;
32void (*SPF_debug_handler)( const char *, int, const char * ) = SPF_DEFAULT_DEBUG_HANDLER;
#define __attribute__(x)
Definition spf.h:17
#define SPF_DEFAULT_DEBUG_HANDLER
Definition spf_log.h:104
void(* SPF_warning_handler)(const char *, int, const char *)
void(* SPF_debug_handler)(const char *, int, const char *)
#define SPF_DEFAULT_ERROR_HANDLER
Definition spf_log.h:101
#define SPF_DEFAULT_INFO_HANDLER
Definition spf_log.h:103
void(* SPF_info_handler)(const char *, int, const char *)
void(* SPF_error_handler)(const char *, int, const char *) __attribute__((noreturn))
#define SPF_DEFAULT_WARNING_HANDLER
Definition spf_log.h:102