Functions | Variables

error.c File Reference

Include dependency graph for error.c:

Functions

static void libvlc_setup_threads (bool init)
void libvlc_init_threads (void)
void libvlc_deinit_threads (void)
static char * get_error (void)
static void free_error (void)
const char * libvlc_errmsg (void)
 Gets a human-readable error message for the last LibVLC error in the calling thread.
void libvlc_clearerr (void)
 Clears the LibVLC error status for the current thread.
const char * libvlc_vprinterr (const char *fmt, va_list ap)
 Sets the LibVLC error status and message for the current thread.
const char * libvlc_printerr (const char *fmt,...)
 Sets the LibVLC error status and message for the current thread.

Variables

static const char oom [] = "Out of memory"
static vlc_threadvar_t context

Function Documentation

static void free_error ( void   )  [static]

References get_error(), and oom.

Referenced by libvlc_clearerr(), and libvlc_vprinterr().

static char* get_error ( void   )  [static]

References context, and vlc_threadvar_get().

Referenced by free_error(), and libvlc_errmsg().

void libvlc_deinit_threads ( void   ) 

References libvlc_setup_threads().

Referenced by libvlc_new(), and libvlc_release().

void libvlc_init_threads ( void   ) 

References libvlc_setup_threads().

Referenced by libvlc_new().

static void libvlc_setup_threads ( bool  init  )  [static]

Variable Documentation

const char oom[] = "Out of memory" [static]

Referenced by free_error(), and libvlc_vprinterr().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines