-/*****************************************************************************
- * Prototypes - these methods are used to get default values for some threads
- * and modules.
- *****************************************************************************/
-#ifndef PLUGIN
-int main_GetIntVariable( char *psz_name, int i_default );
-char * main_GetPszVariable( char *psz_name, char *psz_default );
-void main_PutIntVariable( char *psz_name, int i_value );
-void main_PutPszVariable( char *psz_name, char *psz_value );
-#else
-# define main_GetIntVariable p_symbols->main_GetIntVariable
-# define main_PutIntVariable p_symbols->main_PutIntVariable
-# define main_GetPszVariable p_symbols->main_GetPszVariable
-# define main_PutPszVariable p_symbols->main_PutPszVariable
+ /* 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
+ * several modules */
+
+ /* Locks */
+ vlc_mutex_t config_lock; /* lock for the config file */
+#ifdef SYS_DARWIN
+ vlc_mutex_t quicktime_lock; /* QT is not thread safe on OSX */