5 typedef struct _mm_appref_t {
8 struct _mm_appref_t *next;
12 char *catname; // name of the category
13 mm_appref_t *refs; // apps (from g_active_apps) that are in this category
14 unsigned int refcount; // how many apps in this category
19 #define CATEGORY_ALL "All"
21 // try to populate as many cats as necessary
22 unsigned char category_push ( char *catname, pnd_disco_t *app ); // catname is not pulled from app, so we can make them up on the fly (ie: "All")
23 mm_category_t *category_query ( char *catname );
24 void category_dump ( void ); // sort the apprefs
25 void category_freeall ( void );