ADDON_SERVICE_DISCOVERY,
ADDON_SKIN2,
ADDON_PLUGIN,
+ ADDON_INTERFACE,
+ ADDON_META,
ADDON_OTHER
} addon_type_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];
/* stats */
long int i_downloads;
- long int i_score;
+ int i_score; /* score 0..5 in hundredth */
/* Lister */
char *psz_source_module;
/* custom data storage (if needed by module/source) */
void * p_custom;
};
-typedef struct addon_entry_t addon_entry_t;
typedef struct addons_finder_t addons_finder_t;
typedef struct addons_finder_sys_t addons_finder_sys_t;