40#ifndef __bool_true_false_are_defined
41 #define __bool_true_false_are_defined 1
57#define DBG_DLL_EXPORTS
59#define DBG_DLL_API __declspec(dllexport)
61#define DBG_DLL_API __declspec(dllimport)
64#define DBG_MAX_STR_SIZE 1024
65#define FILE_PATH_SIZE 256
78#define DBG_WRONG_PARAMS 2
204DBG_DLL_API
void dbg_print(
void *dbg_session,
DBG_LEVEL dbg_level,
char *dbg_sw,
char *func,
int line,
char *fmt, ...);
enum _DBG_OUTPUT DBG_OUTPUT
Enumeration that enables the different debug outputs.
_DBG_OUTPUT
Enumeration that enables the different debug outputs.
_DBG_LEVEL
Enumeration for the different debug levels.
enum _DBG_LEVEL DBG_LEVEL
Enumeration for the different debug levels.
DBG_DLL_API int dbg_init(void **dbg_session, const _dbg_params *dbg_params_t)
Initializes debugging.
DBG_DLL_API int dbg_close(const void *dbg_session)
Closes the debug session.
DBG_DLL_API void dbg_print(void *dbg_session, DBG_LEVEL dbg_level, char *dbg_sw, char *func, int line, char *fmt,...)
Debug print function.
struct __dbg_params _dbg_params
The main settings of the Debug DLL API.
void(__stdcall * _dbg_clbk)(char *dbg_str)
Debug API callback function type definition. Used at __dbg_params::dbg_clbk.
The main settings of the Debug DLL API.