-/*****************************************************************************
- * libvlc_t (global variable)
- *****************************************************************************
- * This structure has an unique instance, statically allocated in main and
- * never accessed from the outside. It store once-initialized data such as
- * the CPU capabilities or the global lock.
- *****************************************************************************/
-struct libvlc_t
-{
- VLC_COMMON_MEMBERS
-
- /* Initialization boolean */
- vlc_bool_t b_ready;
-
- /* CPU extensions */
- uint32_t i_cpu;
-
- /* Generic settings */
- int i_verbose; /* info messages */
- vlc_bool_t b_color; /* color messages? */
-
- /* Object structure data */
- int i_counter; /* object counter */
- int i_objects; /* Attached objects count */
- vlc_object_t ** pp_objects; /* Array of all objects */
-
- /* The message bank */
- msg_bank_t msg_bank;
-
- /* UTF-8 conversion */
- vlc_mutex_t from_locale_lock;
- vlc_mutex_t to_locale_lock;
- vlc_iconv_t from_locale;
- vlc_iconv_t to_locale;
-
- /* The module bank */
- module_bank_t * p_module_bank;
-
- /* Arch-specific variables */
-#if !defined( WIN32 )
- vlc_bool_t b_daemon;
-#endif
-#if defined( SYS_BEOS )
- vlc_object_t * p_appthread;
- char * psz_vlcpath;
-#elif defined( SYS_DARWIN )
- char * psz_vlcpath;
-#elif defined( WIN32 ) && !defined( UNDER_CE )
- SIGNALOBJECTANDWAIT SignalObjectAndWait;
- vlc_bool_t b_fast_mutex;
- int i_win9x_cv;
- char * psz_vlcpath;
-#elif defined( UNDER_CE )
- char * psz_vlcpath;