mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
26 lines
537 B
C
26 lines
537 B
C
|
/* trace.h
|
||
|
*
|
||
|
* Copyright (c) 1992-2001 by Mike Gleason.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#if defined(WIN32) || defined(_WINDOWS)
|
||
|
# define kTraceFileName "trace.txt"
|
||
|
#else
|
||
|
# define kTraceFileName "trace"
|
||
|
#endif
|
||
|
|
||
|
/* trace.c */
|
||
|
void Trace(const int, const char *const, ...)
|
||
|
#if (defined(__GNUC__)) && (__GNUC__ >= 2)
|
||
|
__attribute__ ((format (printf, 2, 3)))
|
||
|
#endif
|
||
|
;
|
||
|
void ErrorHook(const FTPCIPtr, char *);
|
||
|
void DebugHook(const FTPCIPtr, char *);
|
||
|
void SetDebug(int);
|
||
|
void UseTrace(void);
|
||
|
void OpenTrace(void);
|
||
|
void CloseTrace(void);
|