frontierdebug.h File Reference

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

Go to the source code of this file.

Defines

#define LAND_LOGTARGET_NONE   0
#define LAND_LOGTARGET_ABOUT   1
#define LAND_LOGTARGET_FILE   2
#define LAND_LOGTARGET_DIALOG   4
#define LAND_LOGTARGET_DEBUGGER   8
#define LAND_LOGLEVEL_OFF   0
#define LAND_LOGLEVEL_1   1
#define LAND_LOGLEVEL_2   2
#define LAND_LOGLEVEL_3   3
#define LAND_TCPLOG_NAME   "tcp"
#define LAND_TCPLOG_LEVEL   LAND_LOGLEVEL_OFF
#define LAND_TCPLOG_TARGET   LAND_LOGTARGET_NONE
#define LAND_DBLOG_NAME   "db"
#define LAND_DBLOG_LEVEL   LAND_LOGLEVEL_OFF
#define LAND_DBLOG_TARGET   LAND_LOGTARGET_NONE
#define LAND_THREADSLOG_NAME   "threads"
#define LAND_THREADSLOG_LEVEL   LAND_LOGLEVEL_OFF
#define LAND_THREADSLOG_TARGET   LAND_LOGTARGET_NONE
#define LAND_GENERALLOG_NAME   "general"
#define LAND_GENERALLOG_LEVEL   LAND_LOGLEVEL_OFF
#define LAND_GENERALLOG_TARGET   LAND_LOGTARGET_NONE
#define LAND_MSG(m, t, n)   logmessage ((m), __FILE__, __LINE__, (t), (n))
#define LAND_ASSERT(e, t, n)   ((void) ((e) ? 0 : (logassert ((#e), __FILE__, __LINE__, (t), (n))))
#define MSG_1(x)
#define ASSERT_1(x)
#define MSG_2(x)
#define ASSERT_2(x)
#define MSG_3(x)
#define ASSERT_3(x)
#define TCP_MSG_1(x)
#define TCP_ASSERT_1(x)
#define TCP_MSG_2(x)
#define TCP_ASSERT_2(x)
#define TCP_MSG_3(x)
#define TCP_ASSERT_3(x)
#define DB_MSG_1(x)
#define DB_ASSERT_1(x)
#define DB_MSG_2(x)
#define DB_ASSERT_2(x)
#define DB_MSG_3(x)
#define DB_ASSERT_3(x)
#define THREADS_MSG_1(x)
#define THREADS_ASSERT_1(x)
#define THREADS_MSG_2(x)
#define THREADS_ASSERT_2(x)
#define THREADS_MSG_3(x)
#define THREADS_ASSERT_3(x)

Functions

void logmessage (char *, char *, long, long, char *)
long logassert (char *, char *, long, long, char *)
void logstartup (void)
void logshutdown (void)


Define Documentation

#define ASSERT_1  ) 
 

Definition at line 77 of file frontierdebug.h.

#define ASSERT_2  ) 
 

Definition at line 85 of file frontierdebug.h.

#define ASSERT_3  ) 
 

Definition at line 93 of file frontierdebug.h.

#define DB_ASSERT_1  ) 
 

Definition at line 131 of file frontierdebug.h.

#define DB_ASSERT_2  ) 
 

Definition at line 139 of file frontierdebug.h.

#define DB_ASSERT_3  ) 
 

Definition at line 147 of file frontierdebug.h.

#define DB_MSG_1  ) 
 

Definition at line 130 of file frontierdebug.h.

#define DB_MSG_2  ) 
 

Definition at line 138 of file frontierdebug.h.

Referenced by dbassign(), and dbreleasestring().

#define DB_MSG_3  ) 
 

Definition at line 146 of file frontierdebug.h.

#define LAND_ASSERT e,
t,
 )     ((void) ((e) ? 0 : (logassert ((#e), __FILE__, __LINE__, (t), (n))))
 

Definition at line 67 of file frontierdebug.h.

#define LAND_DBLOG_LEVEL   LAND_LOGLEVEL_OFF
 

Definition at line 52 of file frontierdebug.h.

#define LAND_DBLOG_NAME   "db"
 

Definition at line 51 of file frontierdebug.h.

#define LAND_DBLOG_TARGET   LAND_LOGTARGET_NONE
 

Definition at line 53 of file frontierdebug.h.

#define LAND_GENERALLOG_LEVEL   LAND_LOGLEVEL_OFF
 

Definition at line 60 of file frontierdebug.h.

#define LAND_GENERALLOG_NAME   "general"
 

Definition at line 59 of file frontierdebug.h.

#define LAND_GENERALLOG_TARGET   LAND_LOGTARGET_NONE
 

Definition at line 61 of file frontierdebug.h.

#define LAND_LOGLEVEL_1   1
 

Definition at line 40 of file frontierdebug.h.

#define LAND_LOGLEVEL_2   2
 

Definition at line 41 of file frontierdebug.h.

#define LAND_LOGLEVEL_3   3
 

Definition at line 42 of file frontierdebug.h.

#define LAND_LOGLEVEL_OFF   0
 

Definition at line 39 of file frontierdebug.h.

#define LAND_LOGTARGET_ABOUT   1
 

Definition at line 31 of file frontierdebug.h.

Referenced by logtotargets().

#define LAND_LOGTARGET_DEBUGGER   8
 

Definition at line 34 of file frontierdebug.h.

Referenced by logtotargets().

#define LAND_LOGTARGET_DIALOG   4
 

Definition at line 33 of file frontierdebug.h.

Referenced by logtotargets().

#define LAND_LOGTARGET_FILE   2
 

Definition at line 32 of file frontierdebug.h.

Referenced by logtotargets().

#define LAND_LOGTARGET_NONE   0
 

Definition at line 30 of file frontierdebug.h.

#define LAND_MSG m,
t,
 )     logmessage ((m), __FILE__, __LINE__, (t), (n))
 

Definition at line 66 of file frontierdebug.h.

#define LAND_TCPLOG_LEVEL   LAND_LOGLEVEL_OFF
 

Definition at line 48 of file frontierdebug.h.

#define LAND_TCPLOG_NAME   "tcp"
 

Definition at line 47 of file frontierdebug.h.

#define LAND_TCPLOG_TARGET   LAND_LOGTARGET_NONE
 

Definition at line 49 of file frontierdebug.h.

#define LAND_THREADSLOG_LEVEL   LAND_LOGLEVEL_OFF
 

Definition at line 56 of file frontierdebug.h.

#define LAND_THREADSLOG_NAME   "threads"
 

Definition at line 55 of file frontierdebug.h.

#define LAND_THREADSLOG_TARGET   LAND_LOGTARGET_NONE
 

Definition at line 57 of file frontierdebug.h.

#define MSG_1  ) 
 

Definition at line 76 of file frontierdebug.h.

#define MSG_2  ) 
 

Definition at line 84 of file frontierdebug.h.

#define MSG_3  ) 
 

Definition at line 92 of file frontierdebug.h.

#define TCP_ASSERT_1  ) 
 

Definition at line 104 of file frontierdebug.h.

Referenced by CheckUnbind(), fwsacceptingthreadmain(), fwsprocesspendingconnections(), and Notifier().

#define TCP_ASSERT_2  ) 
 

Definition at line 112 of file frontierdebug.h.

#define TCP_ASSERT_3  ) 
 

Definition at line 120 of file frontierdebug.h.

#define TCP_MSG_1  ) 
 

Definition at line 103 of file frontierdebug.h.

Referenced by DoBind(), DoListenAccept(), DoListenRcvDisconnect(), DoRcvDisconnect(), DoSndDisconnect(), DoSndOrderlyDisconnect(), EPClose(), ListenNotifier(), and Notifier().

#define TCP_MSG_2  ) 
 

Definition at line 111 of file frontierdebug.h.

Referenced by fwsNetEventInetdRead(), fwsNetEventReadStream(), fwsNetEventReadStreamBytes(), fwsNetEventReadStreamUntil(), fwsNetEventReadStreamUntilClosed(), fwsNetEventWriteStream(), and Notifier().

#define TCP_MSG_3  ) 
 

Definition at line 119 of file frontierdebug.h.

#define THREADS_ASSERT_1  ) 
 

Definition at line 158 of file frontierdebug.h.

Referenced by processwake().

#define THREADS_ASSERT_2  ) 
 

Definition at line 166 of file frontierdebug.h.

#define THREADS_ASSERT_3  ) 
 

Definition at line 174 of file frontierdebug.h.

#define THREADS_MSG_1  ) 
 

Definition at line 157 of file frontierdebug.h.

#define THREADS_MSG_2  ) 
 

Definition at line 165 of file frontierdebug.h.

#define THREADS_MSG_3  ) 
 

Definition at line 173 of file frontierdebug.h.


Function Documentation

long logassert char *  ,
char *  ,
long  ,
long  ,
char * 
 

Definition at line 269 of file frontierdebug.c.

References logtotargets().

Here is the call graph for this function:

void logmessage char *  ,
char *  ,
long  ,
long  ,
char * 
 

Definition at line 257 of file frontierdebug.c.

References logtotargets().

Here is the call graph for this function:

void logshutdown void   ) 
 

Definition at line 290 of file frontierdebug.c.

References logfile, and NULL.

Referenced by shellshutdown().

void logstartup void   ) 
 

Definition at line 283 of file frontierdebug.c.


Generated on Thu Jun 1 10:43:08 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6