1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 01:15:55 +02:00
wernermisc/qpkg/qpkg.h

35 lines
454 B
C

#ifndef QPKG_H
#define QPKG_H
enum relop {
rel_eq,
rel_ge,
rel_lt,
};
struct pkg;
struct ref {
struct id *pkg;
struct id *version;
enum relop relop; /* undefined if version == NULL */
struct ref *next;
};
struct pkg {
struct id *id;
struct id *version;
struct ref *conflicts;
struct ref *depends;
const char *filename;
int installed;
struct pkg *more;
int mark;
};
struct tree *packages;
struct tree *versions;
#endif /* !QPKG_H */