summaryrefslogtreecommitdiffstats
path: root/src/shared/spawn-polkit-agent.h
blob: 325dfdde466ec6de5470a594f0e10f3bc5414167 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#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);