29 #ifdef ENABLE_DEBUG_LOG
56 # define MCDECL _cdecl
61 TIDY_EXPORT
int add_std_out(
int val );
62 TIDY_EXPORT
int add_sys_time(
int val );
63 TIDY_EXPORT
int add_sys_date(
int val );
65 TIDY_EXPORT
int add_screen_out(
int val );
66 TIDY_EXPORT
int add_list_out(
int val );
67 TIDY_EXPORT
int add_append_log(
int val );
69 TIDY_EXPORT
int open_log_file(
void );
70 TIDY_EXPORT
void close_log_file(
void );
71 TIDY_EXPORT
void set_log_file(
char * nf,
int open );
72 TIDY_EXPORT
char * get_log_file(
void );
74 TIDY_EXPORT
int MCDECL sprtf(
const char *pf, ... );
75 #define M_MAX_SPRTF 2048
76 TIDY_EXPORT
int direct_out_it(
char *cp );
78 TIDY_EXPORT
char *GetNxtBuf(
void);
80 #define EndBuf(a) ( a + strlen(a) )
82 TIDY_EXPORT
char *get_date_stg(
void);
83 TIDY_EXPORT
char *get_time_stg(
void);
84 TIDY_EXPORT
char *get_date_time_stg(
void);
87 TIDY_EXPORT
int gettimeofday(
struct timeval *tp,
void *tzp);
90 # define DEBUG_LOG(ARG) do { ARG; } while(0)
93 # define DEBUG_LOG(ARG)