You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#define BUFSIZE 4096
|
|
|
|
#define STATUSFILE "./status"
|
|
|
|
|
|
|
|
#define DEPENDSMAX 64 /* maximum number of depends we can handle */
|
|
|
|
|
|
|
|
/* data structures */
|
|
|
|
struct package_t {
|
|
|
|
char *package;
|
|
|
|
int installer_menu_item;
|
|
|
|
char *description; /* short only, and only for menu items */
|
|
|
|
char *depends[DEPENDSMAX];
|
|
|
|
int processed;
|
|
|
|
struct package_t *next;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct package_t *status_read(void);
|
|
|
|
int package_compare (const void *, const void *);
|