about summary refs log tree commit diff
path: root/src/nmcli/polkit-agent.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2021-07-05 20:35:03 +0200
committerSebastien Bacher <seb128@ubuntu.com>2021-07-05 20:35:03 +0200
commit35779c6675728fa6f0fd0a21cefb904408509c23 (patch)
tree553e7239e0ba182b4f9b29b1e7a9d66a595d08bc /src/nmcli/polkit-agent.h
parentd92aa7f298fe84d4cf686c5ad64b73438e00d377 (diff)
New upstream version 1.32.2
Diffstat (limited to 'src/nmcli/polkit-agent.h')
-rw-r--r--src/nmcli/polkit-agent.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nmcli/polkit-agent.h b/src/nmcli/polkit-agent.h
new file mode 100644
index 00000000..776d0aa0
--- /dev/null
+++ b/src/nmcli/polkit-agent.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2014 Red Hat, Inc.
+ */
+
+#ifndef __NMC_POLKIT_AGENT_H__
+#define __NMC_POLKIT_AGENT_H__
+
+#include "nmcli.h"
+
+gboolean nmc_polkit_agent_init(NmCli *nmc, gboolean for_session, GError **error);
+void     nmc_polkit_agent_fini(NmCli *nmc);
+
+gboolean nmc_start_polkit_agent_start_try(NmCli *nmc);
+
+#endif /* __NMC_POLKIT_AGENT_H__ */