summaryrefslogtreecommitdiff
path: root/librazor
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2008-06-23 20:48:48 -0400
committerJames Bowes <jbowes@redhat.com>2008-06-23 20:48:48 -0400
commit24e8398fb80019f488396776df3b22f53c47c7a1 (patch)
tree5b783a51513f34ea5b37638bdc1b617363c92ed8 /librazor
parent2929e9ff9032aae4e063fbb62ea73d0d32234376 (diff)
Implement rpm --query --file
Diffstat (limited to 'librazor')
-rw-r--r--librazor/razor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/librazor/razor.h b/librazor/razor.h
index 4fc3fc7..73da7ed 100644
--- a/librazor/razor.h
+++ b/librazor/razor.h
@@ -120,6 +120,15 @@ razor_package_iterator_create(struct razor_set *set);
struct razor_package_iterator *
razor_package_iterator_create_for_property(struct razor_set *set,
struct razor_property *property);
+
+/**
+ * razor_package_iterator_create_for_file:
+ *
+ * Create a new #razor_package_iterator object for the packages that
+ * contain the given file name.
+ *
+ * Returns: the new #razor_package_iterator object.
+ **/
struct razor_package_iterator *
razor_package_iterator_create_for_file(struct razor_set *set,
const char *filename);