]> git.sesse.net Git - vlc/blobdiff - include/main.h
* FINALLY fixed HTTP input bug (I'm SO HAPPY with this !)
[vlc] / include / main.h
index 27ec461518ad930789f549558b0d63ddf44322d6..70d79203acc272168becbc3846938e23a994a85f 100644 (file)
@@ -3,7 +3,7 @@
  * Declaration and extern access to global program object.
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: main.h,v 1.31 2002/03/12 18:37:46 stef Exp $
+ * $Id: main.h,v 1.33 2002/03/21 07:11:57 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *
@@ -39,6 +39,7 @@ typedef struct main_s
     int                    i_argc;           /* command line arguments count */
     char **                ppsz_argv;              /* command line arguments */
     char *                 psz_arg0;         /* program name (whithout path) */
+    char *                 psz_homedir;             /* user's home directory */
 
     u32                    i_cpu_capabilities;             /* CPU extensions */
     int                    i_warning_level;        /* warning messages level */
@@ -63,6 +64,9 @@ typedef struct main_s
     p_playlist_t           p_playlist;                           /* playlist */
     p_intf_msg_t           p_msg;                 /* messages interface data */
     p_input_channel_t      p_channel;                /* channel library data */
+
+    /* Locks */
+    vlc_mutex_t            config_lock;          /* lock for the config file */
 } main_t;
 
 #ifndef PLUGIN