1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef H_UPGRADE #define H_UPGRADE struct packageInfo { Header h; char selected; char * name; void * data; } ; struct pkgSet { struct packageInfo ** packages; int numPackages; }; int ugFindUpgradePackages(struct pkgSet *psp, char *installRoot); #endif