|
VLC
2.1.0-git
|

Macros | |
| #define | COL(x, y) "\033[" #x ";" #y "m" |
| #define | RED COL(31,1) |
| #define | GREEN COL(32,1) |
| #define | YELLOW COL(0,33) |
| #define | WHITE COL(0,1) |
| #define | GRAY "\033[0m" |
Functions | |
| void | vlc_Subscribe (msg_subscription_t *sub, msg_callback_t cb, void *opaque) |
| Subscribe to the message queue. | |
| void | vlc_Unsubscribe (msg_subscription_t *sub) |
| Unsubscribe from the message queue. | |
| void | vlc_Log (vlc_object_t *obj, int type, const char *module, const char *format,...) |
| Emit a log message. | |
| static void | PrintColorMsg (void *, int, const msg_item_t *, const char *, va_list) |
| static void | PrintMsg (void *, int, const msg_item_t *, const char *, va_list) |
| void | vlc_vaLog (vlc_object_t *obj, int type, const char *module, const char *format, va_list args) |
| Emit a log message. | |
Variables | |
| vlc_rwlock_t | msg_lock = PTHREAD_RWLOCK_INITIALIZER |
| Store all data required by messages interfaces. | |
| msg_subscription_t * | msg_head |
| static const char | msg_type [4][9] = { "", " error", " warning", " debug" } |
| static const char | msg_color [4][8] = { "\033[" "0" ";" "1" "m" , "\033[" "31" ";" "1" "m" , "\033[" "0" ";" "33" "m" , "\033[0m" } |
| #define COL | ( | x, | |
| y | |||
| ) | "\033[" #x ";" #y "m" |
| #define GRAY "\033[0m" |
Referenced by PrintColorMsg().
| #define GREEN COL(32,1) |
Referenced by PrintColorMsg().
| #define RED COL(31,1) |
| #define WHITE COL(0,1) |
| #define YELLOW COL(0,33) |
|
static |
References flockfile(), funlockfile(), GRAY, GREEN, msg_item_t::i_object_id, msg_color, msg_type, msg_item_t::psz_header, msg_item_t::psz_module, msg_item_t::psz_object_type, utf8_fprintf(), utf8_vfprintf(), VLC_MSG_ERR, vlc_restorecancel(), and vlc_savecancel().
Referenced by vlc_vaLog().
|
static |
|
static |
Referenced by PrintColorMsg().
| msg_subscription_t* msg_head |
Referenced by vlc_Subscribe().
| vlc_rwlock_t msg_lock = PTHREAD_RWLOCK_INITIALIZER |
Store all data required by messages interfaces.
Referenced by _DLL_InitTerm(), vlc_Subscribe(), vlc_Unsubscribe(), and vlc_vaLog().
|
static |
Referenced by PrintColorMsg(), and PrintMsg().
1.8.1.2