Gammu internals  1.38.0
_GSM_Debug_Info Struct Reference

#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
 

Detailed Description

Definition at line 34 of file debug.h.

Field Documentation

§ closable

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().

§ coding

const char* _GSM_Debug_Info::coding

Encoding used in console

Definition at line 38 of file debug.h.

Referenced by DecodeUnicodeConsole(), and GSM_SetDebugCoding().

§ df

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().

§ dl

§ log_function

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().

§ use_global

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().

§ user_data

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().

§ was_lf

gboolean _GSM_Debug_Info::was_lf

Has there already been new line

Definition at line 39 of file debug.h.

Referenced by GSM_SetDebugFileDescriptor().


The documentation for this struct was generated from the following file: