X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=addon.h;h=bb96f2e5023777cb8a21642745a05891ce427138;hb=53b534974303043efaf1d887711fcd349f6a2885;hp=cae83f6b2d6e19e3ebb5d8e5bccc9b8bae8343bb;hpb=d3021395f97b2ae244835c6656008386c8874343;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/addon.h b/addon.h index cae83f6..bb96f2e 100644 --- a/addon.h +++ b/addon.h @@ -19,7 +19,10 @@ struct addon_alias { char foldername[ ADDON_FOLDERNAME_MAX ]; }; -#define ADDON_REG_HIDDEN 0x1 +#define ADDON_REG_HIDDEN 0x1 +#define ADDON_REG_MTZERO 0x2 +#define ADDON_REG_CITY 0x4 +#define ADDON_REG_PREMIUM 0x8 struct { struct addon_reg{ @@ -74,7 +77,7 @@ static u32 addon_count( enum addon_type type, u32 ignoreflags ); static addon_reg *get_addon_from_index( enum addon_type type, u32 index, u32 ignoreflags ); static u32 get_index_from_addon( enum addon_type type, addon_reg *a ); -static int addon_get_content_folder( addon_reg *reg, vg_str *folder ); +static int addon_get_content_folder( addon_reg *reg, vg_str *folder, int async); /* scanning routines */ static u32 addon_match( addon_alias *alias );