]> git.sesse.net Git - vlc/blobdiff - include/vlc_addons.h
avcodec: simplify picture references
[vlc] / include / vlc_addons.h
index 7b46dd5266b05fe6b0aa73cce512782fe2cc41d0..92d5bc6e12effdb66f929699ff397c32b83c805a 100644 (file)
@@ -36,6 +36,8 @@ typedef enum addon_type_t
     ADDON_SERVICE_DISCOVERY,
     ADDON_SKIN2,
     ADDON_PLUGIN,
+    ADDON_INTERFACE,
+    ADDON_META,
     ADDON_OTHER
 } addon_type_t;
 
@@ -54,6 +56,7 @@ typedef enum addon_flags_t
     ADDON_UPDATABLE  = 1 << 2,
 } addon_flags_t;
 
+#define ADDON_MAX_SCORE (5 * 100)
 #define ADDON_UUID_SIZE 16
 #define ADDON_UUID_PSZ_SIZE (ADDON_UUID_SIZE * 2 + 4)
 typedef uint8_t addon_uuid_t[ADDON_UUID_SIZE];
@@ -86,7 +89,7 @@ struct addon_entry_t
 
     /* stats */
     long int i_downloads;
-    long int i_score;
+    int i_score; /* score 0..5 in hundredth */
 
     /* Lister */
     char *psz_source_module;