XMMS2
Typedefs | Functions
xmmsc_log.h File Reference
#include "xmmsc/xmmsc_idnumbers.h"

Typedefs

typedef void(* xmmsc_log_handler_t )(const char *, xmmsc_log_level_t, const char *, void *)
 

Functions

void xmmsc_log_handler_set (xmmsc_log_handler_t, void *)
 Set callback for receiving xmmsc_log-messages WARNING: This is not thread-safe! More...
 
void xmmsc_log_handler_get (xmmsc_log_handler_t *, void **)
 Get xmmsc_log-callback and -userdata. More...
 
void xmmsc_log_default_handler (const char *domain, xmmsc_log_level_t level, const char *msg, void *)
 Default xmmsc_log-handler Writes the error message to stderr, prepending and if appropriate. More...
 

Typedef Documentation

typedef void(* xmmsc_log_handler_t)(const char *, xmmsc_log_level_t, const char *, void *)

Function Documentation

void xmmsc_log_default_handler ( const char *  domain,
xmmsc_log_level_t  level,
const char *  msg,
void *   
)

Default xmmsc_log-handler Writes the error message to stderr, prepending and if appropriate.

void xmmsc_log_handler_get ( xmmsc_log_handler_t ,
void **   
)

Get xmmsc_log-callback and -userdata.

void xmmsc_log_handler_set ( xmmsc_log_handler_t  ,
void *   
)

Set callback for receiving xmmsc_log-messages WARNING: This is not thread-safe!

Referenced by xmms_log_init().