summaryrefslogtreecommitdiff
path: root/pkg.h
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2005-10-16 17:31:41 +0000
committerTollef Fog Heen <tfheen@err.no>2005-10-16 17:31:41 +0000
commitec5f06d60f5e7dd4b9bf42ccae298d3e42b7ef18 (patch)
tree6c263afd4e0eddbf3013c8dd2044a7133c379f1e /pkg.h
parent7f9c9a4ff0eca8d704dac4b93cbf641c7c5636ed (diff)
downloadpkg-config-ec5f06d60f5e7dd4b9bf42ccae298d3e42b7ef18.tar.gz
Add --short-errors
2005-10-16 Tollef Fog Heen <tfheen@err.no> * pkg.c (get_package_quiet): Add get_package_quiet which is just the same as get_package except it sets warn to false. * pkg.h: Add prototype for get_package_quiet. * main.c (main): Add --short-errors flag to suppress most of the output when a module is not found.
Diffstat (limited to 'pkg.h')
-rw-r--r--pkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg.h b/pkg.h
index 67e9a84..8043205 100644
--- a/pkg.h
+++ b/pkg.h
@@ -78,6 +78,7 @@ struct _Package
};
Package *get_package (const char *name);
+Package *get_package_quiet (const char *name);
char * package_get_l_libs (Package *pkg);
char * packages_get_l_libs (GSList *pkgs);
char * package_get_L_libs (Package *pkg);