Gammu internals
1.38.0
|
#include <debug.h>
Data Fields | |
Debug_Level | dl |
FILE * | df |
gboolean | use_global |
const char * | coding |
gboolean | was_lf |
gboolean | closable |
GSM_Log_Function | log_function |
void * | user_data |
gboolean _GSM_Debug_Info::closable |
Whether Gammu can close the file when it is no longer needed for debug output.
Definition at line 40 of file debug.h.
Referenced by GSM_SetDebugFileDescriptor().
const char* _GSM_Debug_Info::coding |
Encoding used in console
Definition at line 38 of file debug.h.
Referenced by DecodeUnicodeConsole(), and GSM_SetDebugCoding().
FILE* _GSM_Debug_Info::df |
File used for debug messages output
Definition at line 36 of file debug.h.
Referenced by dbg_write(), GSM_DecodeMultiPartSMS(), GSM_DecodeNokiaProfile(), GSM_EncodeEMSMultiPartSMS(), and GSM_SetDebugFileDescriptor().
Debug_Level _GSM_Debug_Info::dl |
Level of messages to display
Definition at line 35 of file debug.h.
Referenced by DumpMessageText(), GSM_DecodeMultiPartSMS(), GSM_DecodeNokiaProfile(), GSM_DumpMessageBinary_Custom(), GSM_DumpMessageText_Custom(), GSM_EncodeEMSMultiPartSMS(), GSM_EncodeMultiPartSMS(), GSM_OSErrorInfo(), GSM_SetDebugFile(), GSM_SetDebugLevel(), N71_65_DecodePhonebook(), and smprintf_level().
GSM_Log_Function _GSM_Debug_Info::log_function |
Function which performs logging, in case it is set, no file logging happens.
Definition at line 44 of file debug.h.
Referenced by dbg_write(), GSM_InitConnection(), and GSM_SetDebugFunction().
gboolean _GSM_Debug_Info::use_global |
Whether to use global debug structure instead of this one.
Definition at line 37 of file debug.h.
Referenced by GSM_GetDI(), GSM_InitConnection_Log(), and GSM_SetDebugGlobal().
void* _GSM_Debug_Info::user_data |
User data to be passed to callback.
Definition at line 48 of file debug.h.
Referenced by dbg_write(), GSM_InitConnection(), and GSM_SetDebugFunction().
gboolean _GSM_Debug_Info::was_lf |
Has there already been new line
Definition at line 39 of file debug.h.
Referenced by GSM_SetDebugFileDescriptor().