]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Build fix
[vlc] / src / modules / modules.h
index e1dfa2e0c3e5d0d5be0552ef713f14b5ec8bcf21..62a79ad443b9a0d5aae15946e2d852a923b71330 100644 (file)
@@ -41,8 +41,6 @@ struct module_bank_t
 {
     unsigned         i_usage;
 
-    bool             b_plugins;
-
     /* Plugins cache */
     bool             b_cache;
     bool             b_cache_dirty;
@@ -65,10 +63,8 @@ struct module_cache_t
     char       *psz_file;
     int64_t    i_time;
     int64_t    i_size;
-    bool b_junk;
 
     /* Optional extra data */
-    bool b_used;
     module_t *p_module;
 };
 
@@ -102,7 +98,6 @@ struct module_t
     module_t   *parent;
     unsigned    submodule_count;
     gc_object_t vlc_gc_data;
-    vlc_mutex_t lock;
 
     /*
      * Variables set by the module to identify itself
@@ -116,10 +111,8 @@ struct module_t
 
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */
-    uint32_t i_cpu;                           /**< Required CPU capabilities */
 
     bool b_unloadable;                        /**< Can we be dlclosed? */
-    bool b_reentrant;                           /**< Are we reentrant? */
     bool b_submodule;                        /**< Is this a submodule? */
 
     /* Callbacks */
@@ -140,6 +133,7 @@ struct module_t
     /* Plugin-specific stuff */
     module_handle_t     handle;                             /* Unique handle */
     char *              psz_filename;                     /* Module filename */
+    char *              domain;                            /* gettext domain */
 
     bool          b_builtin;  /* Set to true if the module is built in */
     bool          b_loaded;        /* Set to true if the dll is loaded */
@@ -155,6 +149,8 @@ void module_LoadPlugins( vlc_object_t *, bool );
 void module_EndBank( vlc_object_t *, bool );
 #define module_EndBank(a,b) module_EndBank(VLC_OBJECT(a), b)
 
+int vlc_bindtextdomain (const char *);
+
 /* Low-level OS-dependent handler */
 int  module_Load   (vlc_object_t *, const char *, module_handle_t *);
 int  module_Call   (vlc_object_t *obj, module_t *);