summaryrefslogtreecommitdiff
path: root/src/shared/spawn-polkit-agent.h
blob: 56b0175944e5b7607664877e3912558384abf4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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);