/* * @(#)$RCSfile: trace.h,v $ $Revision: 1.1 $ $Date: 2005/03/29 11:06:41 $ CERN IT-PDP/DM Frederic Hemmer */ /* * Copyright (C) 1990-2000 by CERN/CN/SW/DC * All rights reserved */ /* trace.h tracing routines header */ #ifndef _TRACE_H_INCLUDED_ #define _TRACE_H_INCLUDED_ #ifndef _SHIFT_H_INCLUDED_ #include #endif EXTERN_C void DLL_DECL print_trace _PROTO((int, char *, char *, ...)); EXTERN_C void DLL_DECL init_trace _PROTO((char *)); EXTERN_C void DLL_DECL end_trace _PROTO((void)); EXTERN_C int DLL_DECL notrace; #define TRACE if ( !notrace ) print_trace #define INIT_TRACE if ( !notrace ) init_trace #define END_TRACE if ( !notrace ) end_trace #define NOTRACE {notrace = 1;} #endif /* _TRACE_H_INCLUDED_ */