]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Don't leak every https parameters.
[vlc] / src / modules / modules.h
index 156be832adf3d7c326e1a4e73aa241988ea11e63..cc2207bbb9325ff7d3c8777b6c0e689ed8e28eca 100644 (file)
@@ -43,13 +43,13 @@ struct module_bank_t
 
     int              i_usage;
 
-    bool       b_builtins;
-    bool       b_plugins;
+    bool             b_builtins;
+    bool             b_plugins;
 
     /* Plugins cache */
-    bool     b_cache;
-    bool     b_cache_dirty;
-    bool     b_cache_delete;
+    bool             b_cache;
+    bool             b_cache_dirty;
+    bool             b_cache_delete;
 
     int            i_cache;
     module_cache_t **pp_cache;
@@ -103,12 +103,12 @@ struct module_t
     /*
      * Variables set by the module to identify itself
      */
-    const char *psz_shortname;                              /**< Module name */
-    const char *psz_longname;                   /**< Module descriptive name */
-    const char *psz_help;        /**< Long help string for "special" modules */
+    char *psz_shortname;                              /**< Module name */
+    char *psz_longname;                   /**< Module descriptive name */
+    char *psz_help;        /**< Long help string for "special" modules */
 
     /** Shortcuts to the module */
-    const char *pp_shortcuts[ MODULE_SHORTCUT_MAX ];
+    char *pp_shortcuts[ MODULE_SHORTCUT_MAX ];
 
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */
@@ -153,7 +153,7 @@ void  __module_EndBank         ( vlc_object_t * );
 #define module_ResetBank(a)    __module_ResetBank(VLC_OBJECT(a))
 void  __module_ResetBank       ( vlc_object_t * );
 
-/* Low-level OS-dependant handler */
+/* Low-level OS-dependent handler */
 int  module_Call   (module_t *);
 int  module_Load   (vlc_object_t *, const char *, module_handle_t *);
 void module_Unload (module_handle_t);