debug.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define RETURN_NO_LOG   return
#define LOG_FACILITY   LOG_DAEMON

Enumerations

enum  debug_level_t {
  DEBUG_LEVEL_FATAL = 1, DEBUG_LEVEL_CRITICAL, DEBUG_LEVEL_SERIOUS_WARNING, DEBUG_LEVEL_WARNING,
  DEBUG_LEVEL_SERIOUS_MESSAGE, DEBUG_LEVEL_MESSAGE, DEBUG_LEVEL_INFO, DEBUG_LEVEL_DEBUG,
  DEBUG_LEVEL_VERBOSE_DEBUG, DEFAULT_DEBUG_LEVEL = DEBUG_LEVEL_SERIOUS_WARNING, MIN_DEBUG_LEVEL = DEBUG_LEVEL_FATAL, MAX_DEBUG_LEVEL = DEBUG_LEVEL_VERBOSE_DEBUG
}
enum  debug_area_t {
  DEBUG_AREA_MAIN = 1, DEBUG_AREA_PACKET = 2, DEBUG_AREA_USER = 4, DEBUG_AREA_GW = 8,
  DEBUG_AREA_AUTH = 16, DEBUG_AREA_PERF = 32, DEBUG_AREA_ALL, DEFAULT_DEBUG_AREAS
}


Define Documentation

#define LOG_FACILITY   LOG_DAEMON

Definition at line 66 of file debug.h.

Referenced by init_log_engine(), and process_g_syslog().

#define RETURN_NO_LOG   return

Definition at line 27 of file debug.h.

Referenced by copy_filename(), log_user_packet(), log_user_session(), look_for_tcp_flags(), packetsrv_ipq_process(), parse_group_list(), user_check_and_decide(), and user_session_modify().


Enumeration Type Documentation

enum debug_area_t

Debug areas (domains), default is DEFAULT_DEBUG_AREAS (all)

Enumerator:
DEBUG_AREA_MAIN  1: Main domain
DEBUG_AREA_PACKET  2: Packet domain
DEBUG_AREA_USER  4: User domain
DEBUG_AREA_GW  8: Gateway domain
DEBUG_AREA_AUTH  16: Auth. domain
DEBUG_AREA_PERF  32: Performance display domain
DEBUG_AREA_ALL  All debug areas
DEFAULT_DEBUG_AREAS  Default debug areas: all areas but not perf

Definition at line 51 of file debug.h.

enum debug_level_t

Debug levels: default is DEFAULT_DEBUG_LEVEL and values are between MIN_DEBUG_LEVEL and MAX_DEBUG_LEVEL

Enumerator:
DEBUG_LEVEL_FATAL  1: Least verbose level
DEBUG_LEVEL_CRITICAL  2
DEBUG_LEVEL_SERIOUS_WARNING  3 (default)
DEBUG_LEVEL_WARNING  4
DEBUG_LEVEL_SERIOUS_MESSAGE  5
DEBUG_LEVEL_MESSAGE  6
DEBUG_LEVEL_INFO  7
DEBUG_LEVEL_DEBUG  8
DEBUG_LEVEL_VERBOSE_DEBUG  9: Most verbose level
DEFAULT_DEBUG_LEVEL  Default debug level
MIN_DEBUG_LEVEL  Minimum debug level value (least verbose)
MAX_DEBUG_LEVEL  Maximum debug level value (most verbose)

Definition at line 33 of file debug.h.


Generated on Sat Nov 22 04:00:39 2008 for NuFW by  doxygen 1.4.7