util.h File Reference

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

Go to the source code of this file.

Defines

#define PrintLog(...)   __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__)
#define PrintError(...)   __printerror(__FILE__,__func__,__LINE__,__VA_ARGS__)
#define PrintWarning(...)   __printwarning(__FILE__,__func__,__LINE__,__VA_ARGS__)
#define MallocError()   __printerror(__FILE__,__func__,__LINE__,"malloc error\n")
#define PrintDebug(...)   if (VERBOSE>1) { __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__); }

Functions

void __printlog (char *file_name, const char *funcname, int N, const char *format,...)
void __printerror (char *file_name, const char *funcname, int N, const char *format,...)
void __printwarning (char *file_name, const char *funcname, int N, const char *format,...)


Define Documentation

 
#define MallocError (  )     __printerror(__FILE__,__func__,__LINE__,"malloc error\n")

Definition at line 17 of file util.h.

#define PrintDebug ( ...   )     if (VERBOSE>1) { __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__); }

#define PrintError ( ...   )     __printerror(__FILE__,__func__,__LINE__,__VA_ARGS__)

#define PrintLog ( ...   )     __printlog(__FILE__,__func__,__LINE__,__VA_ARGS__)

#define PrintWarning ( ...   )     __printwarning(__FILE__,__func__,__LINE__,__VA_ARGS__)


Function Documentation

void __printerror ( char *  file_name,
const char *  funcname,
int  N,
const char *  format,
  ... 
)

Definition at line 83 of file util.c.

References ARGV0, and VERBOSE.

void __printlog ( char *  file_name,
const char *  funcname,
int  N,
const char *  format,
  ... 
)

Definition at line 39 of file util.c.

References ARGV0, and VERBOSE.

void __printwarning ( char *  file_name,
const char *  funcname,
int  N,
const char *  format,
  ... 
)

Definition at line 63 of file util.c.

References ARGV0, and VERBOSE.


Generated on Tue Jul 22 23:11:57 2008 for Titan2Reader by  doxygen 1.5.6