#include "xmppc.h"
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
|
void | logError (xmppc_t *xmppc, const char *fmt,...) |
|
void | logWarn (xmppc_t *xmppc, const char *fmt,...) |
|
void | logInfo (xmppc_t *xmppc, const char *fmt,...) |
|
void | logDebug (xmppc_t *xmppc, const char *fmt,...) |
|
int | xmppc_context (xmppc_t *xmppc, int level) |
| Setup the application context. More...
|
|
int | xmppc_connect (xmppc_t *xmppc, char *jid, char *password) |
|
◆ logError()
void logError |
( |
xmppc_t * |
xmppc, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Error logging
- Parameters
-
xmppc | the xmppc context structure |
fmt | format of message |
◆ xmppc_context()
int xmppc_context |
( |
xmppc_t * |
xmppc, |
|
|
int |
level |
|
) |
| |
Setup the application context.
- Parameters
-
- Returns
- 0 - ok