/[lwip]/lwip/src/include/lwip/debug.h
ViewVC logotype

Diff of /lwip/src/include/lwip/debug.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by jani, Fri Feb 21 16:43:46 2003 UTC revision 1.16 by likewise, Mon Mar 10 16:07:50 2003 UTC
# Line 41  Line 41 
41   * - 3 severe   * - 3 severe
42   */   */
43  #define DBG_MASK_LEVEL 3  #define DBG_MASK_LEVEL 3
44    // LW: moved to lwipopts.h
45    #if 0
46  #define DBG_TYPES_ON 0  #define DBG_TYPES_ON 0
47    #endif
48  /** print only debug messages with this level or higher */  /** print only debug messages with this level or higher */
49  #define DBG_MIN_LEVEL 0  #define DBG_MIN_LEVEL 0
50    
# Line 50  Line 53 
53  /** flag for DEBUGF to disable the debug message */  /** flag for DEBUGF to disable the debug message */
54  #define DBG_OFF 0x00U  #define DBG_OFF 0x00U
55    
56  /** flag for DEBUGF to indicate it is a tracing message (to follow program flow) */  /** flag for DEBUGF indicating a tracing message (to follow program flow) */
57  #define DBG_TRACE   0x40  #define DBG_TRACE   0x40
58  /** flag for DEBUGF to indicate it is a state debug message (to follow states) */  /** flag for DEBUGF indicating a state debug message (to follow states) */
59  #define DBG_STATE   0x20  #define DBG_STATE   0x20
60  /** flag for DEBUGF that indicates newly added code, not thoroughly tested yet */  /** flag for DEBUGF indicating newly added code, not thoroughly tested yet */
61  #define DBG_FRESH   0x10  #define DBG_FRESH   0x10
62  /** flag for DEBUGF to halt after printing this debug message */  /** flag for DEBUGF to halt after printing this debug message */
63  #define DBG_HALT    0x08  #define DBG_HALT    0x08
64    
   
65  #ifdef LWIP_DEBUG  #ifdef LWIP_DEBUG
66    
67  #define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0)  #define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26