summaryrefslogtreecommitdiffstats
path: root/src/shared/spawn-ask-password-agent.h
blob: a76cdb11fea3f0df804f7a76f547af1a7e765745 (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 ask_password_agent_open(void);
void ask_password_agent_close(void);

int ask_password_agent_open_if_enabled(BusTransport transport, bool ask_password);