Definicje | Wyliczenia | Funkcje

Dokumentacja pliku remote/debug.h

Idź do kodu źródłowego tego pliku.

Definicje

#define debug_io(args...)   debug_ext(DEBUG_IO, args)
#define debug_iorecv(args...)   debug_ext(DEBUG_IORECV, args)
#define debug_function(args...)   debug_ext(DEBUG_FUNCTION, args)
#define debug_error(args...)   debug_ext(DEBUG_ERROR, args)
#define debug_white(args...)   debug_ext(DEBUG_WHITE, args)
#define debug_warn(args...)   debug_ext(DEBUG_WARN, args)
#define debug_ok(args...)   debug_ext(DEBUG_OK, args)
#define debug_wtf(args...)   debug_ext(DEBUG_WTF, args)

Wyliczenia

enum  debug_level_t {
  DEBUG_IO = 1, DEBUG_IORECV, DEBUG_FUNCTION, DEBUG_ERROR,
  DEBUG_GGMISC, DEBUG_WHITE, DEBUG_WARN, DEBUG_OK,
  DEBUG_WTF, DEBUG_IO = 1, DEBUG_IORECV, DEBUG_FUNCTION,
  DEBUG_ERROR, DEBUG_GGMISC, DEBUG_WHITE, DEBUG_WARN,
  DEBUG_OK, __DEBUG_WTF
}

Funkcje

void debug (const char *format,...)
void debug_ext (debug_level_t level, const char *format,...)

Dokumentacja definicji

#define debug_error (   args...  )     debug_ext(DEBUG_ERROR, args)
#define debug_function (   args...  )     debug_ext(DEBUG_FUNCTION, args)
#define debug_io (   args...  )     debug_ext(DEBUG_IO, args)
#define debug_iorecv (   args...  )     debug_ext(DEBUG_IORECV, args)
#define debug_ok (   args...  )     debug_ext(DEBUG_OK, args)
#define debug_warn (   args...  )     debug_ext(DEBUG_WARN, args)
#define debug_white (   args...  )     debug_ext(DEBUG_WHITE, args)
#define debug_wtf (   args...  )     debug_ext(DEBUG_WTF, args)

Dokumentacja typów wyliczanych

Wartości wyliczeń:
DEBUG_IO 
DEBUG_IORECV 
DEBUG_FUNCTION 
DEBUG_ERROR 
DEBUG_GGMISC 
DEBUG_WHITE 
DEBUG_WARN 
DEBUG_OK 
DEBUG_WTF 
DEBUG_IO 
DEBUG_IORECV 
DEBUG_FUNCTION 
DEBUG_ERROR 
DEBUG_GGMISC 
DEBUG_WHITE 
DEBUG_WARN 
DEBUG_OK 
__DEBUG_WTF 

Dokumentacja funkcji

void debug ( const char *  format,
  ... 
)
void debug_ext ( debug_level_t  level,
const char *  format,
  ... 
)
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje