From cf94007aed7eb87a38090a62b9ddf606ea1343c9 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 18 Jan 2006 22:37:16 +0000 Subject: more code cleanup yet --- lib/libalpm/deps.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libalpm/deps.h') diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index 99032833..9451d8b4 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -36,7 +36,9 @@ typedef struct __pmdepmissing_t { pmdepend_t depend; } pmdepmissing_t; -int dep_isin(pmdepmissing_t *needle, PMList *haystack); +pmdepmissing_t *depmiss_new(const char *target, unsigned char type, unsigned char depmod, + const char *depname, const char *depversion); +int depmiss_isin(pmdepmissing_t *needle, PMList *haystack); PMList *sortbydeps(PMList *targets, int mode); PMList *checkdeps(pmdb_t *db, unsigned char op, PMList *packages); int splitdep(char *depstr, pmdepend_t *depend); -- cgit v1.2.3-24-g4f1b