XMMS2
|
#include <stdio.h>
#include <stdarg.h>
#include "xmmscpriv/xmmsc_log.h"
#include "xmmscpriv/xmmsc_util.h"
Functions | |
void | xmmsc_log_handler_set (xmmsc_log_handler_t f, void *udata) |
Set callback for receiving xmmsc_log-messages WARNING: This is not thread-safe! More... | |
void | xmmsc_log_handler_get (xmmsc_log_handler_t *f, void **udata) |
Get xmmsc_log-callback and -userdata. More... | |
void | xmmsc_log_default_handler (const char *domain, xmmsc_log_level_t level, const char *msg, void *unused) |
Default xmmsc_log-handler Writes the error message to stderr, prepending and if appropriate. More... | |
void | xmmsc_log (const char *domain, xmmsc_log_level_t level, const char *fmt,...) |
Log a message. More... | |
void xmmsc_log | ( | const char * | domain, |
xmmsc_log_level_t | level, | ||
const char * | fmt, | ||
... | |||
) |
Log a message.
void xmmsc_log_default_handler | ( | const char * | domain, |
xmmsc_log_level_t | level, | ||
const char * | msg, | ||
void * | unused | ||
) |
Default xmmsc_log-handler Writes the error message to stderr, prepending and if appropriate.
void xmmsc_log_handler_get | ( | xmmsc_log_handler_t * | f, |
void ** | udata | ||
) |
Get xmmsc_log-callback and -userdata.
void xmmsc_log_handler_set | ( | xmmsc_log_handler_t | f, |
void * | udata | ||
) |
Set callback for receiving xmmsc_log-messages WARNING: This is not thread-safe!
Referenced by xmms_log_init().