pkg_dependence_satisfied: remove unused function
[oweals/opkg-lede.git] / libopkg / pkg_depends.h
index c1f7aa86b79ea69fcf9832b6704468adde706250..af897b239d037cc608b96484731b5e4c55e16792 100644 (file)
@@ -22,6 +22,7 @@
 #include "pkg_hash.h"
 
 enum depend_type {
+       UNSPEC,
        PREDEPEND,
        DEPEND,
        CONFLICTS,
@@ -60,6 +61,12 @@ void buildConflicts(pkg_t * pkg);
 void buildReplaces(abstract_pkg_t * ab_pkg, pkg_t * pkg);
 void buildDepends(pkg_t * pkg);
 
+void parse_deplist(pkg_t *pkg, enum depend_type type, char *list);
+
+abstract_pkg_t **init_providelist(pkg_t *pkg, int *count);
+void parse_providelist(pkg_t *pkg, char *list);
+void parse_replacelist(pkg_t *pkg, char *list);
+
 /**
  * pkg_replaces returns 1 if pkg->replaces contains one of replacee's provides and 0
  * otherwise.
@@ -85,7 +92,8 @@ int pkg_hash_fetch_unsatisfied_dependencies(pkg_t * pkg, pkg_vec_t * depends,
                                            char ***unresolved);
 pkg_vec_t *pkg_hash_fetch_conflicts(pkg_t * pkg);
 int pkg_dependence_satisfiable(depend_t * depend);
-int pkg_dependence_satisfied(depend_t * depend);
 const char *constraint_to_str(enum version_constraint c);
 
+compound_depend_t *pkg_get_depends(pkg_t *pkg, enum depend_type type);
+
 #endif