diff options
| author | Michael Biebl <biebl@debian.org> | 2024-02-13 22:23:40 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-02-13 22:23:40 +0100 |
| commit | 6681f77b757bbc42ce5c8868ee9142b7ebc8c059 (patch) | |
| tree | f713e759b7c255ebeea83351f05dd466fd31422f /src/libnm-core-public/nm-setting-connection.h | |
| parent | 70e18d99b8e3e77bb37e218d7ac582130156f8ef (diff) | |
New upstream version 1.45.91 upstream/1.45.91
Diffstat (limited to 'src/libnm-core-public/nm-setting-connection.h')
| -rw-r--r-- | src/libnm-core-public/nm-setting-connection.h | 8 |
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); |