From 3fe339bcba0e211cc666bb3afe34e5c8fce85f4f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 2 May 2014 19:17:38 +0200 Subject: IFP: Add a GetGroupsList method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds a new method on the bus with the following synopsis: Its purpose is to return names of groups the user is a member of as a list of strings. Reviewed-by: Pavel Březina --- src/responder/ifp/ifp_private.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/responder/ifp/ifp_private.h') 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; -- cgit