Debug functions used by libsyncml. More...
Functions | |
void | smlLog (const char *logname, const char *data, unsigned int size) |
void | smlTrace (SmlTraceType type, const char *message,...) |
Used for tracing the application. | |
char * | smlPrintBinary (const char *data, int len) |
Used for printing binary data. | |
char * | smlPrintHex (const char *data, int len) |
Used for printing binary data in just hex. |
Debug functions used by libsyncml.
void smlTrace | ( | SmlTraceType | type, | |
const char * | message, | |||
... | ||||
) |
Used for tracing the application.
use this function to trace calls. The call graph will be saved into the file that is given in the SYNCML_TRACE environment variable
type | The type of the trace | |
message | The message to save |
Definition at line 120 of file sml_support.c.
Referenced by smlAssemblerAddHeader(), smlAssemblerAddStatusFull(), smlAssemblerCheckSize(), smlAssemblerEndCommand(), smlAssemblerFlush(), smlAssemblerFree(), smlAssemblerGetOption(), smlAssemblerGetSpace(), smlAssemblerNew(), smlAssemblerReserveStatus(), smlAssemblerRun(), smlAssemblerSetOption(), smlAssemblerStart(), smlAssemblerStartCommand(), smlCommandNewPartialChange(), smlDataSyncAbort(), smlDataSyncGetTarget(), smlDevInfAgentRequestDevInf(), smlDevInfAgentSendDevInf(), smlDsServerSetConnectCallback(), smlDsSessionCloseMap(), smlDsSessionCloseSync(), smlDsSessionGetAlert(), smlDsSessionGetChanges(), smlDsSessionSendAlert(), smlDsSessionSendSync(), smlItemCheck(), smlItemGetData(), smlItemStealData(), smlManagerObjectRegister(), smlManagerStop(), smlParserEnd(), smlParserFree(), smlParserGetCommand(), smlParserGetHeader(), smlParserGetStatus(), smlParserNew(), smlParserStart(), smlQueueAttach(), smlSessionEnd(), smlSessionEndCommand(), smlSessionFlush(), smlSessionGetRemoteMaxObjSize(), smlSessionNew(), smlSessionSendCommand(), smlSessionSendReply(), smlSessionSetLocalMaxObjSize(), smlSessionSetRemoteMaxObjSize(), smlSessionStartCommand(), smlThreadCallFunction(), smlThreadCallFunctionCallback(), smlTransportFinalize(), smlTransportFree(), smlTransportInitialize(), smlTransportNew(), smlTransportSetConfigOption(), smlTransportSetConnectionType(), smlTransportSetResponseURI(), smlWbxmlAssemblerNew(), smlXmlAssemblerNew(), and smlXmlParserStart().
char* smlPrintBinary | ( | const char * | data, | |
int | len | |||
) |
Used for printing binary data.
Unprintable character will be printed in hex, printable are just printed
data | The data to print | |
len | The length to print |
Definition at line 252 of file sml_support.c.
Referenced by smlXmlParserStart().
char* smlPrintHex | ( | const char * | data, | |
int | len | |||
) |
Used for printing binary data in just hex.
data | The data to print | |
len | The length to print |
Definition at line 271 of file sml_support.c.