dktrace.h File Reference

Functions and macros for tracing. More...

#include <stdio.h>
#include <dkconfig.h>
#include <dkproto.h>

Go to the source code of this file.

Defines

#define TR_STR(x)   ((x) ? (x) : "(NULL)")
 Show string.
#define TR_PTR(x)   ((x) ? "PTR" : "(NULL)")
 Show pointer.

Functions

void dktrace_end (void)
 Close trace output file.
void dktrace_init (char *n)
 Start tracing.
FILE * dktrace_file (void)
 Get trace file.
void dk_trace_end (void)
 Close trace output file.
void dk_trace_init (char *n)
 Start tracing.
FILE * dk_trace_file (void)
 Get trace file.
void dktrace_time (void)
 Write time to trace output.
void dk_trace_time (void)
 Write time to trace output.
void dktrace_stdout_time (void)
 Write time to standard output.


Detailed Description

Functions and macros for tracing.


Define Documentation

#define TR_PTR (  )     ((x) ? "PTR" : "(NULL)")

Show pointer.

#define TR_STR (  )     ((x) ? (x) : "(NULL)")

Show string.


Function Documentation

FILE* dk_trace_file ( void   ) 

Get trace file.

Returns:
Pointer to open file used for tracing.

void dk_trace_init ( char *  n  ) 

Start tracing.

Parameters:
n File name to write trace output or NULL to use standard output.

FILE* dktrace_file ( void   ) 

Get trace file.

Returns:
Pointer to open file used for tracing.

void dktrace_init ( char *  n  ) 

Start tracing.

Parameters:
n File name to write trace output or NULL to use standard output.


Generated on Mon Jan 4 15:50:56 2010 for dklibs by  doxygen 1.5.8