mirror of
https://github.com/diasurgical/devilution.git
synced 2025-07-23 12:33:00 +02:00
28 lines
580 B
C
28 lines
580 B
C
/**
|
|
* @file logging.h
|
|
*
|
|
* Interface of logging functionality.
|
|
*/
|
|
#ifndef __LOGGING_H__
|
|
#define __LOGGING_H__
|
|
|
|
extern CHAR FileName[MAX_PATH];
|
|
extern char log_buffer[388];
|
|
extern LPCVOID lpAddress;
|
|
extern DWORD nNumberOfBytesToWrite;
|
|
|
|
void __cdecl log_flush(BOOL force_close);
|
|
HANDLE log_create();
|
|
void log_get_version(VS_FIXEDFILEINFO *file_info);
|
|
void __cdecl log_printf(const char *pszFmt, ...); // LogMessage
|
|
void log_dump_computer_info();
|
|
|
|
/* rdata */
|
|
|
|
/* data */
|
|
|
|
extern int log_not_created;
|
|
extern HANDLE log_file;
|
|
|
|
#endif /* __LOGGING_H__ */
|