- boolean_t b_audio; /* is audio output allowed ? */
- boolean_t b_video; /* is video output allowed ? */
- boolean_t b_vlans; /* are vlans supported ? */
-
- /* Unique threads */
- p_aout_thread_t p_aout; /* audio output thread */
- p_intf_thread_t p_intf; /* main interface thread */
-
- /* Shared data - these structures are accessed directly from p_main by
+ 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;
+
+ /* 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;
+#endif
+};
+
+/*****************************************************************************
+ * vlc_t, p_vlc
+ *****************************************************************************
+ * This structure is a LibVLC instance.
+ *****************************************************************************/
+struct vlc_t
+{
+ VLC_COMMON_MEMBERS
+
+ /* Global properties */
+ int i_argc; /* command line arguments count */
+ char ** ppsz_argv; /* command line arguments */
+ char * psz_homedir; /* user's home directory */
+ char * psz_configfile; /* location of config file */
+
+ /* Fast memcpy plugin used */
+ module_t * p_memcpy_module;
+ void* ( *pf_memcpy ) ( void *, const void *, size_t );
+ void* ( *pf_memset ) ( void *, int, size_t );
+
+ /* Shared data - these structures are accessed directly from p_vlc by