2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2013-11-18 16:58:43 +01:00
|
|
|
#pragma once
|
2011-07-25 04:58:02 +02:00
|
|
|
|
2019-11-15 11:11:10 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2017-10-30 09:57:53 +01:00
|
|
|
#include "bus-util.h"
|
|
|
|
|
2012-04-11 18:50:16 +02:00
|
|
|
int polkit_agent_open(void);
|
|
|
|
void polkit_agent_close(void);
|
2017-10-30 09:57:53 +01:00
|
|
|
|
2019-11-15 11:11:10 +01:00
|
|
|
int polkit_agent_open_if_enabled(BusTransport transport, bool ask_password);
|