forked from ariadne/pkgconf
libpkgconf: make pkgconf_pkg_dir_list_build() public
parent
434c465ca9
commit
ad731d1948
|
@ -203,6 +203,7 @@ pkgconf_pkg_t *pkgconf_builtin_pkg_get(const char *name);
|
||||||
|
|
||||||
int pkgconf_compare_version(const char *a, const char *b);
|
int pkgconf_compare_version(const char *a, const char *b);
|
||||||
pkgconf_pkg_t *pkgconf_scan_all(pkgconf_client_t *client, void *ptr, pkgconf_pkg_iteration_func_t func);
|
pkgconf_pkg_t *pkgconf_scan_all(pkgconf_client_t *client, void *ptr, pkgconf_pkg_iteration_func_t func);
|
||||||
|
void pkgconf_pkg_dir_list_build(pkgconf_client_t *client, unsigned int flags);
|
||||||
|
|
||||||
/* parse.c */
|
/* parse.c */
|
||||||
pkgconf_pkg_t *pkgconf_pkg_new_from_file(const pkgconf_client_t *client, const char *path, FILE *f, unsigned int flags);
|
pkgconf_pkg_t *pkgconf_pkg_new_from_file(const pkgconf_client_t *client, const char *path, FILE *f, unsigned int flags);
|
||||||
|
|
|
@ -107,7 +107,7 @@ pkg_get_parent_dir(pkgconf_pkg_t *pkg)
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
pkgconf_pkg_dir_list_build(pkgconf_client_t *client, unsigned int flags)
|
pkgconf_pkg_dir_list_build(pkgconf_client_t *client, unsigned int flags)
|
||||||
{
|
{
|
||||||
if (client->dir_list.head != NULL || client->dir_list.tail != NULL)
|
if (client->dir_list.head != NULL || client->dir_list.tail != NULL)
|
||||||
|
|
Loading…
Reference in New Issue