fwupd/src/fu-polkit-agent.h
Richard Hughes 0f89a0d2f0 Use pkttyagent to request user passwords if running without GUI
This change will allow it to use pkcon over remote-shells (ssh) or
to use it witout a running GUI desktop environment in the background.

Should fix https://github.com/fwupd/fwupd/issues/2429
2020-09-29 19:21:18 +01:00

14 lines
417 B
C

/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2011 Lennart Poettering <lennart@poettering.net>
* Copyright (C) 2012 Matthias Klumpp <matthias@tenstral.net>
* Copyright (C) 2015-2020 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
gboolean fu_polkit_agent_open (GError **error);
void fu_polkit_agent_close (void);