]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bus-polkit.h
polkit: allow checking if we already acquired some action
[thirdparty/systemd.git] / src / shared / bus-polkit.h
index 4e2c1d355117105c21b685429aa8a44301e1e123..3394c23a2b2cbdd517caced2dea72d4cb04f8192 100644 (file)
@@ -30,3 +30,5 @@ static inline int varlink_verify_polkit_async(Varlink *link, sd_bus *bus, const
                 .name = "allowInteractiveAuthentication",        \
                 .type = JSON_VARIANT_BOOLEAN,                    \
         }
+
+bool varlink_has_polkit_action(Varlink *link, const char *action, const char **details, Hashmap **registry);