summaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-06-15 09:20:58 +0200
committerDan Nicholson <dbn.lists@gmail.com>2016-01-29 14:25:21 -0800
commit9ef2d3475df0eba199427e9c47d9e502bd45b116 (patch)
treee757642283c11c4ac7dd7e6c27c4522512fff91f /parse.h
parent52baea8489d1670f924a2904a1cd866402ef273f (diff)
downloadpkg-config-9ef2d3475df0eba199427e9c47d9e502bd45b116.tar.gz
Pass key into parse_package_key so it can be set early
We will need this to properly pick up environment-overridden per-package vairables. https://bugs.freedesktop.org/show_bug.cgi?id=90917
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/parse.h b/parse.h
index 3169090..4ec84aa 100644
--- a/parse.h
+++ b/parse.h
@@ -22,9 +22,10 @@
#include "pkg.h"
-Package *parse_package_file (const char *path, gboolean ignore_requires,
- gboolean ignore_private_libs,
- gboolean ignore_requires_private);
+Package *parse_package_file (const char *key, const char *path,
+ gboolean ignore_requires,
+ gboolean ignore_private_libs,
+ gboolean ignore_requires_private);
GList *parse_module_list (Package *pkg, const char *str, const char *path);