pkg: make pkg_verify_dependency() public

feature/tap-sh
William Pitcock 2011-07-26 19:26:14 -05:00
parent 7c3db84499
commit 045257bebe
1 changed files with 1 additions and 0 deletions

1
pkg.h
View File

@ -92,6 +92,7 @@ pkg_t *pkg_find(const char *name);
void pkg_traverse(pkg_t *root, void (*pkg_traverse_func)(pkg_t *package, void *data), void *data, int maxdepth); void pkg_traverse(pkg_t *root, void (*pkg_traverse_func)(pkg_t *package, void *data), void *data, int maxdepth);
void pkg_verify_graph(pkg_t *root, int depth); void pkg_verify_graph(pkg_t *root, int depth);
int pkg_compare_version(const char *a, const char *b); int pkg_compare_version(const char *a, const char *b);
pkg_t *pkg_verify_dependency(pkg_dependency_t *pkgdep);
/* parse.c */ /* parse.c */
pkg_t *parse_file(const char *path); pkg_t *parse_file(const char *path);