blob: 56b0175944e5b7607664877e3912558384abf4f1 [file] [log] [blame] [raw]
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <stdbool.h>
#include "bus-util.h"
int polkit_agent_open(void);
void polkit_agent_close(void);
int polkit_agent_open_if_enabled(BusTransport transport, bool ask_password);