debug.h File Reference

Debug output routines. More...

Go to the source code of this file.

Defines

#define debug(level, format...)   _debug(__FILE__, __LINE__, level, format)
 Used to output messages. The messages will include the finlname and line number, and will be sent to syslog if so configured in the config file.

Functions

void _debug (char *filename, int line, int level, char *format,...)


Detailed Description

Debug output routines.

Author:
Copyright (C) 2004 Philippe April <papril777@yahoo.com>

Definition in file debug.h.


Define Documentation

#define debug ( level,
format...   )     _debug(__FILE__, __LINE__, level, format)

Used to output messages. The messages will include the finlname and line number, and will be sent to syslog if so configured in the config file.

Definition at line 33 of file debug.h.

Referenced by _connect_auth_server(), _parse_firewall_rule(), auth_server_request(), authenticate_client(), client_list_append(), client_list_delete(), config_init(), config_notnull(), config_parse_token(), config_read(), config_validate(), connect_auth_server(), execute(), fw_allow(), fw_clear_authservers(), fw_deny(), fw_destroy(), fw_init(), fw_set_authservers(), fw_sync_with_authserver(), get_ext_iface(), get_iface_ip(), get_iface_mac(), http_callback_404(), http_callback_auth(), http_send_redirect(), icmp_ping(), iptables_fw_counters_update(), iptables_fw_destroy(), iptables_fw_destroy_mention(), iptables_fw_init(), mark_auth_offline(), mark_auth_online(), mark_offline(), mark_online(), parse_auth_server(), parse_firewall_ruleset(), parse_trusted_mac_list(), ping(), safe_fork(), safe_malloc(), safe_strdup(), safe_vasprintf(), termination_handler(), thread_client_timeout_check(), thread_httpd(), thread_ping(), thread_wdctl(), thread_wdctl_handler(), wdctl_reset(), and wdctl_restart().


Function Documentation

void _debug ( char *  filename,
int  line,
int  level,
char *  format,
  ... 
)

Definition at line 39 of file debug.c.

References config, config_get_config(), s_config::daemon, s_config::debuglevel, s_config::log_syslog, and s_config::syslog_facility.


Generated on Sun Apr 13 21:55:00 2008 for WifiDog by  doxygen 1.5.3