next up previous contents index
Next: Usage Rules Up: Operations Previous: xTracePxTraceS

xIfTrace, xIfTraceP, xIfTraceS

       

If the tracelevel is less than or equal to the value of the tracevar, then execute the statement directly following.

xIfTrace(int tracevar, int tracelevel)

For example:

        int traceudpp;

        xIfTrace(udpp, TR_ERRORS)
            dump_header();

xIfTraceP and xIfTraceS are the analogous operations, taking a Protl or Sessn instead of a trace variable.

xIfTraceP(Protl protocol, int tracelevel) xIfTraceS(Sessn session, int tracelevel)



Larry Peterson
Wed Jan 10 10:40:08 MST 1996