about summary refs log tree commit diff
path: root/src/nmcli/connections.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-10-01 23:06:08 +0200
committerMichael Biebl <biebl@debian.org>2021-10-01 23:06:08 +0200
commita3349a04ac4c38885cddefec8515c979d03f9327 (patch)
treed3bbee695aa048cb4ec252e7d63515c8376f9006 /src/nmcli/connections.h
parent2d5b58e374d67f60880c7689e80c7745aeef3f62 (diff)
parente74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff)
Update upstream source from tag 'upstream/1.32.12'
Update to upstream version '1.32.12'
with Debian dir 6fabefa95c7dcf83371a78eb2c47013a81ff8d86
Diffstat (limited to 'src/nmcli/connections.h')
-rw-r--r--src/nmcli/connections.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/nmcli/connections.h b/src/nmcli/connections.h
new file mode 100644
index 00000000..74c1fe00
--- /dev/null
+++ b/src/nmcli/connections.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2010 - 2018 Red Hat, Inc.
+ */
+
+#ifndef NMC_CONNECTIONS_H
+#define NMC_CONNECTIONS_H
+
+#include "nmcli.h"
+
+void monitor_connections(NmCli *nmc);
+
+gboolean nmc_process_connection_properties(NmCli *             nmc,
+                                           NMConnection *      connection,
+                                           int *               argc,
+                                           const char *const **argv,
+                                           gboolean            allow_remove_setting,
+                                           GError **           error);
+
+NMMetaColor nmc_active_connection_state_to_color(NMActiveConnection *ac);
+
+int nmc_active_connection_cmp(NMActiveConnection *ac_a, NMActiveConnection *ac_b);
+
+extern const NmcMetaGenericInfo *const metagen_con_show[];
+extern const NmcMetaGenericInfo *const metagen_con_active_general[];
+extern const NmcMetaGenericInfo *const metagen_con_active_vpn[];
+extern const NmcMetaGenericInfo *const nmc_fields_con_active_details_groups[];
+
+#endif /* NMC_CONNECTIONS_H */