chiark / gitweb /
bus-policy: move name list iteration to policy users
[elogind.git] / src / bus-proxyd / bus-policy.h
index 5b4d9d0c1065bf9d6c8a673df329a7faa0dcf081..64fe1ffac5cf9befe51cfba20c8d48ca5166cd89 100644 (file)
@@ -80,15 +80,15 @@ bool policy_check_own(Policy *p, const struct ucred *ucred, const char *name);
 bool policy_check_hello(Policy *p, const struct ucred *ucred);
 bool policy_check_recv(Policy *p,
                        const struct ucred *ucred,
-                       Hashmap *names,
                        int message_type,
+                       const char *name,
                        const char *path,
                        const char *interface,
                        const char *member);
 bool policy_check_send(Policy *p,
                        const struct ucred *ucred,
-                       char **names,
                        int message_type,
+                       const char *name,
                        const char *path,
                        const char *interface,
                        const char *member);