IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2007, 2:10:28 PM (19 years ago)
Author:
jhoblitt
Message:

ws

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psTrace.h

    r11694 r12284  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2007-02-08 01:59:28 $
     11 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2007-03-07 00:10:28 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4040// XXX EAM : the old 'empty' values of (void) 0 are dangerous
    4141# if defined(PS_NO_TRACE)
    42     #   define psTrace(facil, level, ...)   /* do nothing */
    43     #   define p_psTrace(facil, level, ...) /* do nothing */
    44     #   define psTraceSetLevel(facil,level) /* do nothing */
    45     #   define psTraceGetLevel(facil)       -INFINITY /* really really low level */
    46     #   define psTraceReset()               /* do nothing */
    47     #   define psTraceFree()                /* do nothing */
    48     #   define psTracePrintLevels()         /* do nothing */
    49     #   define psTraceSetDestination(fp)    /* do nothing */
    50     #   define psTraceGetDestination()      2 /* destination is stderr */
    51     #   define psTraceSetFormat(format)     /* do nothing */
    52     #   define PS_TRACE_ON                  0
     42#   define psTrace(facil, level, ...)   /* do nothing */
     43#   define p_psTrace(facil, level, ...) /* do nothing */
     44#   define psTraceSetLevel(facil,level) /* do nothing */
     45#   define psTraceGetLevel(facil)       -INFINITY /* really really low level */
     46#   define psTraceReset()               /* do nothing */
     47#   define psTraceFree()                /* do nothing */
     48#   define psTracePrintLevels()         /* do nothing */
     49#   define psTraceSetDestination(fp)    /* do nothing */
     50#   define psTraceGetDestination()      2 /* destination is stderr */
     51#   define psTraceSetFormat(format)     /* do nothing */
     52#   define PS_TRACE_ON                  0
    5353
    54     # else /* PS_NO_TRACE */
    55         #   define PS_TRACE_ON 1
     54# else /* PS_NO_TRACE */
     55#   define PS_TRACE_ON 1
    5656
    57         /** Basic structure for the component tree.  A component is a string of the
    58             form aaa.bbb.ccc, and may itself contain further subcomponents.  The
    59             Component structure doesn't in fact contain it's full name, but only the
    60             last part. */
    61         typedef struct p_psComponent
    62         {
    63             const char *name;                  ///< last part of name of component
    64             psS32 level;                       ///< trace level for this component
    65             bool p_psSpecified;                ///< whether the component is specified
    66             psS32 n;                           ///< number of subcomponents
    67             struct p_psComponent* *subcomp;    ///< next level of subcomponents
    68         }
     57/** Basic structure for the component tree.  A component is a string of the
     58    form aaa.bbb.ccc, and may itself contain further subcomponents.  The
     59    Component structure doesn't in fact contain it's full name, but only the
     60    last part. */
     61typedef struct p_psComponent
     62{
     63    const char *name;                  ///< last part of name of component
     64    psS32 level;                       ///< trace level for this component
     65    bool p_psSpecified;                ///< whether the component is specified
     66    psS32 n;                           ///< number of subcomponents
     67    struct p_psComponent* *subcomp;    ///< next level of subcomponents
     68}
    6969p_psComponent;
    7070
Note: See TracChangeset for help on using the changeset viewer.