summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-28 17:47:58 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-28 17:47:58 +0200
commit6d2214791328708254279b872f53db5aca1d7095 (patch)
tree82830c692e16be7f73572672ac2abc373da42e45 /lib/rpmgi.c
parent9e098f531234cfe776aa63b86e8afafb11865c30 (diff)
downloadlibrpm-tizen-6d2214791328708254279b872f53db5aca1d7095.tar.gz
librpm-tizen-6d2214791328708254279b872f53db5aca1d7095.tar.bz2
librpm-tizen-6d2214791328708254279b872f53db5aca1d7095.zip
Add rpmgiGetFlags() method to avoid rpmgi_internal.h in query
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index 5ee7b8d2e..57b4abaaf 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -628,3 +628,7 @@ rpmRC rpmgiSetArgs(rpmgi gi, ARGV_t argv, int ftsOpts, rpmgiFlags flags)
return rpmgiGlobArgv(gi, argv);
}
+rpmgiFlags rpmgiGetFlags(rpmgi gi)
+{
+ return (gi != NULL ? gi->flags : RPMGI_NONE);
+}