reactos/rosapps/net/ncftp/ncftp/trace.h
Steven Edwards 86bda6b3d9 Added ncftp to rosapps
svn path=/trunk/; revision=2453
2001-12-30 06:31:25 +00:00

25 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);