QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LibVLC error handling

Functions

LIBVLC_API const char * libvlc_errmsg (void)
 
LIBVLC_API void libvlc_clearerr (void)
 
LIBVLC_API const char * libvlc_vprinterr (const char *fmt, va_list ap)
 
LIBVLC_API const char * libvlc_printerr (const char *fmt,...)
 

Detailed Description

Function Documentation

LIBVLC_API void libvlc_clearerr ( void  )

Clears the LibVLC error status for the current thread. This is optional. By default, the error status is automatically overridden when a new error occurs, and destroyed when the thread exits.

LIBVLC_API const char* libvlc_errmsg ( void  )

A human-readable error message for the last LibVLC error in the calling thread. The resulting string is valid until another error occurs (at least until the next LibVLC call).

Warning
This will be NULL if there was no error.
LIBVLC_API const char* libvlc_printerr ( const char *  fmt,
  ... 
)

Sets the LibVLC error status and message for the current thread. Any previous error is overridden.

Parameters
fmtthe format string
argsthe arguments
Returns
a nul terminated string in any case
LIBVLC_API const char* libvlc_vprinterr ( const char *  fmt,
va_list  ap 
)

Sets the LibVLC error status and message for the current thread. Any previous error is overridden.

Parameters
fmtthe format string
apthe arguments
Returns
a nul terminated string in any case