]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/bus-polkit.h
Merge pull request #30567 from yuwata/hashmap_isempty
[thirdparty/systemd.git] / src / shared / bus-polkit.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
269e4d2d
LP
2#pragma once
3
4#include "sd-bus.h"
5
6#include "hashmap.h"
7
8int bus_test_polkit(sd_bus_message *call, int capability, const char *action, const char **details, uid_t good_user, bool *_challenge, sd_bus_error *e);
9
10int bus_verify_polkit_async(sd_bus_message *call, int capability, const char *action, const char **details, bool interactive, uid_t good_user, Hashmap **registry, sd_bus_error *error);
3c2f8472 11Hashmap *bus_verify_polkit_async_registry_free(Hashmap *registry);