struct packageInfo {
Header h;
char * name, * group;
char selected;
char inmenu;
int size;
void * data; /* this points to different things for different */
/* install methods */
} ;
struct pkgSet {
struct packageInfo ** packages;
int numPackages;
};
struct component {
char * name;
int selected;
int inmenu;
struct pkgSet ps;
};