Changeset 560 for trunk/psLib/src/sys/psTrace.h
- Timestamp:
- May 1, 2004, 1:04:35 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psTrace.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psTrace.h
r556 r560 1 1 #if !defined(PS_TRACE_H) 2 2 #define PS_TRACE_H 1 3 #define UNKNOWN_TRACE_LEVEL -9999 // we don't know this name's level 3 #define UNKNOWN_TRACE_LEVEL -9999 // we don't know this name's level 4 #define DEFAULT_TRACE_LEVEL 0 4 5 5 6 /** \file psTrace.h … … 7 8 * \ingroup SystemGroup 8 9 */ 10 11 /***************************************************************************** 12 A component is a string of the form aaa.bbb.ccc, and may itself contain 13 further subcomponents. The Component structure doesn't in fact contain 14 it's full name, but only the last part. 15 *****************************************************************************/ 16 typedef struct Component 17 { 18 const char *name; // last part of name of component 19 int level; // trace level for this component 20 int n; // number of subcomponents 21 struct Component **subcomp; // next level of subcomponents 22 } 23 Component; 9 24 10 25 /** Functions **************************************************************/ … … 28 43 ; 29 44 30 /// turn off all tracing, and free trace's allocated memory 31 void psTraceReset(void) 45 /// Set all trace levels to zero (do not free nodes in the component tree). 46 void psTraceReset() 47 ; 48 49 /// Free all nodes in the component tree. 50 void psTraceFree() 32 51 ; 33 52
Note:
See TracChangeset
for help on using the changeset viewer.
