This file defines structures and functions to handle messages and statistics gathering. More...

Go to the source code of this file.
Data Structures | |
| struct | msg_item_t |
| Log message. More... | |
Defines | |
| #define | msg_GenericVa(a, b, c, d, e) vlc_vaLog(VLC_OBJECT(a), b, c, d, e) |
| #define | msg_Info(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_INFO, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Err(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_ERR, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Warn(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_WARN, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Dbg(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS__ ) |
Typedefs | |
| typedef struct msg_subscription_t | msg_subscription_t |
| Used by interface plugins which subscribe to the message bank. | |
| typedef void(* | msg_callback_t )(void *, int, const msg_item_t *, const char *, va_list) |
| Message logging callback signature. | |
Enumerations | |
| enum | msg_item_type { VLC_MSG_INFO = 0, VLC_MSG_ERR, VLC_MSG_WARN, VLC_MSG_DBG } |
Message types. More... | |
Functions | |
| VLC_API void | vlc_Log (vlc_object_t *, int, const char *, const char *,...) VLC_FORMAT(4 |
| VLC_API void VLC_API void | vlc_vaLog (vlc_object_t *, int, const char *, const char *, va_list) |
| Emit a log message. | |
| VLC_API msg_subscription_t * | vlc_Subscribe (msg_callback_t, void *) VLC_USED |
| Subscribe to the message queue. | |
| VLC_API void | vlc_Unsubscribe (msg_subscription_t *) |
| Unsubscribe from the message queue. | |
This file defines structures and functions to handle messages and statistics gathering.
1.7.1