aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/owner_common.hh
diff options
context:
space:
mode:
authorAvatar Alex Elsayed <eternaleye@gmail.com> 2011-06-27 18:50:34 -0700
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-30 10:27:28 +0100
commitb6f5d29a9561fd16a28b57850a10c605cd9d5c90 (patch)
tree4f59a226cd40e459a230d75a9501d3ef2b5c1709 /src/clients/cave/owner_common.hh
parent21af4bf5f51e7e146ccd52b7c24f42ab12bea98c (diff)
downloadpaludis-b6f5d29a9561fd16a28b57850a10c605cd9d5c90.tar.gz
paludis-b6f5d29a9561fd16a28b57850a10c605cd9d5c90.tar.xz
Implement --matching for 'owner' and 'print-owners' cave subcommands
Diffstat (limited to 'src/clients/cave/owner_common.hh')
-rw-r--r--src/clients/cave/owner_common.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/clients/cave/owner_common.hh b/src/clients/cave/owner_common.hh
index 3181fd7..6f958eb 100644
--- a/src/clients/cave/owner_common.hh
+++ b/src/clients/cave/owner_common.hh
@@ -24,6 +24,7 @@
#include <paludis/package_id-fwd.hh>
#include <paludis/environment-fwd.hh>
+#include <paludis/filter.hh>
#include <string>
#include <memory>
#include <functional>
@@ -34,7 +35,8 @@ namespace paludis
{
int owner_common(
const std::shared_ptr<Environment> & env,
- const std::string & match,
+ const std::string & type,
+ const Filter & matching,
const std::string & query,
const bool dereference,
const std::function<void (const std::shared_ptr<const PackageID> &)> &);