summary refs log tree commit diff
path: root/src/nmcli/polkit-agent.h
diff options
context:
space:
mode:
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__ */