summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifp_private.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-05-02 19:17:38 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-14 16:51:56 +0200
commit3fe339bcba0e211cc666bb3afe34e5c8fce85f4f (patch)
tree5558a375506770e4f1c713c6d27c75827425210e /src/responder/ifp/ifp_private.h
parentcf2cc44d6293165379d6470b8bf6bb6a87d62b31 (diff)
downloadsssd-3fe339bcba0e211cc666bb3afe34e5c8fce85f4f.tar.gz
sssd-3fe339bcba0e211cc666bb3afe34e5c8fce85f4f.tar.xz
sssd-3fe339bcba0e211cc666bb3afe34e5c8fce85f4f.zip
IFP: Add a GetGroupsList method
This patch adds a new method on the bus with the following synopsis: <method name="GetUserGroups"> <arg name="user" type="s" direction="in" /> <arg name="values" type="as" direction="out"/> </method> Its purpose is to return names of groups the user is a member of as a list of strings. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifp_private.h')
-rw-r--r--src/responder/ifp/ifp_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/ifp/ifp_private.h b/src/responder/ifp/ifp_private.h
index c03cf6ccc..e7fcaa4c3 100644
--- a/src/responder/ifp/ifp_private.h
+++ b/src/responder/ifp/ifp_private.h
@@ -52,6 +52,9 @@ int ifp_ping(struct sbus_request *dbus_req, void *data);
int ifp_user_get_attr(struct sbus_request *dbus_req, void *data);
+int ifp_user_get_groups(struct sbus_request *req,
+ void *data, const char *arg_user);
+
/* == Utility functions == */
struct ifp_req {
struct sbus_request *dbus_req;