about summary refs log tree commit diff
path: root/src/libnm-core-public/nm-setting-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-core-public/nm-setting-connection.h')
-rw-r--r--src/libnm-core-public/nm-setting-connection.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libnm-core-public/nm-setting-connection.h b/src/libnm-core-public/nm-setting-connection.h
index e21fd3e5..c7ac1659 100644
--- a/src/libnm-core-public/nm-setting-connection.h
+++ b/src/libnm-core-public/nm-setting-connection.h
@@ -51,6 +51,7 @@ G_BEGIN_DECLS
 #define NM_SETTING_CONNECTION_SLAVE_TYPE            "slave-type"
 #define NM_SETTING_CONNECTION_PORT_TYPE             "port-type"
 #define NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES    "autoconnect-slaves"
+#define NM_SETTING_CONNECTION_AUTOCONNECT_PORTS     "autoconnect-ports"
 #define NM_SETTING_CONNECTION_SECONDARIES           "secondaries"
 #define NM_SETTING_CONNECTION_GATEWAY_PING_TIMEOUT  "gateway-ping-timeout"
 #define NM_SETTING_CONNECTION_METERED               "metered"
@@ -77,7 +78,10 @@ G_BEGIN_DECLS
  * should be activated when master is activated.
  *
  * Since: 1.2
+ *
+ * Deprecated: 1.46
  */
+NM_DEPRECATED_IN_1_46
 typedef enum {
     NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES_DEFAULT = -1,
     NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES_NO      = 0,
@@ -211,9 +215,13 @@ NM_AVAILABLE_IN_1_46
 const char *nm_setting_connection_get_port_type(NMSettingConnection *setting);
 
 NM_AVAILABLE_IN_1_2
+NM_DEPRECATED_IN_1_46
 NMSettingConnectionAutoconnectSlaves
 nm_setting_connection_get_autoconnect_slaves(NMSettingConnection *setting);
 
+NM_AVAILABLE_IN_1_46
+NMTernary nm_setting_connection_get_autoconnect_ports(NMSettingConnection *setting);
+
 guint32     nm_setting_connection_get_num_secondaries(NMSettingConnection *setting);
 const char *nm_setting_connection_get_secondary(NMSettingConnection *setting, guint32 idx);
 gboolean    nm_setting_connection_add_secondary(NMSettingConnection *setting, const char *sec_uuid);