diff --git a/parse.c b/parse.c index 4b8f15d..380feab 100644 --- a/parse.c +++ b/parse.c @@ -38,7 +38,7 @@ tuple_add(pkg_tuple_t *parent, const char *key, const char *value) return tuple; } -static char * +char * tuple_find(pkg_tuple_t *head, const char *key) { pkg_tuple_t *node; diff --git a/pkg.h b/pkg.h index 1163dc4..18b601e 100644 --- a/pkg.h +++ b/pkg.h @@ -89,5 +89,6 @@ pkg_t *pkg_find_matching_dep(pkg_dependency_t *dep); /* parse.c */ pkg_t *parse_file(const char *path); +char *tuple_find(pkg_tuple_t *head, const char *key); #endif