From ee9c73a923909e23a649407be77e25235d769e25 Mon Sep 17 00:00:00 2001
From: Michael Biebl
-
@@ -354,11 +346,6 @@
-NMSettingConnectionMdns
-
-
-nm_setting_connection_get_mdns ()
-
-Read / Write
-
-gint
-mdns
-Read / Write
-
NMMetered
metered
Read / Write
@@ -521,10 +508,6 @@
NM_SETTING_CONNECTION_AUTH_RETRIES
-
-#define
-NM_SETTING_CONNECTION_MDNS
-
@@ -533,10 +516,6 @@
enum
NMSettingConnectionAutoconnectSlaves
NMSettingConnectionLldp
-
-enum
-NMSettingConnectionMdns
-
@@ -547,8 +526,7 @@
NMSettingConnection
Object Hierarchy
GEnum
├── NMSettingConnectionAutoconnectSlaves
- ├── NMSettingConnectionLldp
- ╰── NMSettingConnectionMdns
+ ╰── NMSettingConnectionLldp
GObject
╰── NMSetting
╰── NMSettingConnection
@@ -1515,32 +1493,6 @@ infinity and -1 means a global default value.
Since: 1.10
-NMSettingConnectionMdns
-nm_setting_connection_get_mdns (NMSettingConnection *setting);
-
-
-Since: 1.12
-
-
-
enum NMSettingConnectionAutoconnectSlaves
NMSettingConnectionAutoconnectSlaves values indicate whether slave connections
should be activated when master is activated.
@@ -1774,52 +1720,6 @@ should be activated when master is activated.
-enum NMSettingConnectionMdns
-NMSettingConnectionMdns values indicate whether mDNS should be enabled.
-
-Since: 1.12
-
-
-
NMSettingConnection
typedef struct _NMSettingConnection NMSettingConnection;
General Connection Profile Settings
@@ -1847,9 +1747,6 @@ retries for 3 times before failing the connection.
NetworkManager when the resources for the connection are available.
TRUE to automatically activate the connection, FALSE to require manual
intervention to activate the connection.
-Note that autoconnect is not implemented for VPN profiles. See
-“secondaries” as an alternative to automatically
-connect VPN profiles.
Flags: Read / Write / Construct
Default value: TRUE
@@ -1883,9 +1780,7 @@ to autoconnect again.
“autoconnect-slaves” NMSettingConnectionAutoconnectSlaves
Whether or not slaves of this connection should be automatically brought up
when NetworkManager activates this connection. This only has a real effect
-for master connections. The properties “autoconnect”,
-“autoconnect-priority” and “autoconnect-retries”
-are unrelated to this setting.
+for master connections.
The permitted values are: 0: leave slave connections untouched,
1: activate all the slave connections with this connection, -1: default.
If -1 (default) is set, global connection.autoconnect-slaves is read to
@@ -1948,22 +1843,6 @@ connection may be applied to the wrong interface.
“mdns” property“mdns” gint-
Whether mDNS is enabled for the connection.
-The permitted values are: yes: register hostname and resolving -for the connection, no: disable mDNS for the interface, resolve: -do not register hostname but allow resolving of mDNS host names. -When updating this property on a currently activated connection, -the change takes effect immediately.
-This feature requires a plugin which supports mDNS. One such -plugin is dns-systemd-resolved.
-Flags: Read / Write
-Default value: -1
-Since: 1.12
-“metered” property“metered” NMMetered
Whether the connection is metered.
@@ -2027,11 +1906,10 @@ slave.The stable-id is used for generating IPv6 stable private addresses with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the generated cloned MAC address for ethernet.cloned-mac-address=stable -and wifi.cloned-mac-address=stable. It is also used as DHCP client -identifier with ipv4.dhcp-client-id=stable.
-Note that also the interface name of the activating connection and a -per-host secret key is included into the address generation so that the -same stable-id on different hosts/devices yields different addresses.
+and wifi.cloned-mac-address=stable. Note that also the interface name +of the activating connection and a per-host secret key is included +into the address generation so that the same stable-id on different +hosts/devices yields different addresses.If the value is unset, an ID unique for the connection is used.
Specifying a stable-id allows multiple connections to generate the
same addresses. Another use is to generate IDs at runtime via
--
cgit 1.3.0-6-gf8a5
From 04bc9e1cd3544445d883ad29ea108c1645c8e7b7 Mon Sep 17 00:00:00 2001
From: Michael Biebl
-gboolean
+gboolean
nm_setting_connection_get_autoconnect ()
@@ -94,7 +94,7 @@
-gint
+gint
nm_setting_connection_get_autoconnect_priority ()
@@ -102,7 +102,7 @@
-gint
+gint
nm_setting_connection_get_autoconnect_retries ()
@@ -110,7 +110,7 @@
-guint64
+guint64
nm_setting_connection_get_timestamp ()
@@ -118,7 +118,7 @@
-gboolean
+gboolean
nm_setting_connection_get_read_only ()
@@ -126,7 +126,7 @@
-guint32
+guint32
nm_setting_connection_get_num_permissions ()
@@ -134,7 +134,7 @@
-gboolean
+gboolean
nm_setting_connection_get_permission ()
@@ -149,7 +149,7 @@
-gboolean
+gboolean
nm_setting_connection_permissions_user_allowed ()
@@ -157,7 +157,7 @@
-gboolean
+gboolean
nm_setting_connection_add_permission ()
@@ -173,7 +173,7 @@
-gboolean
+gboolean
nm_setting_connection_remove_permission_by_value ()
@@ -188,7 +188,7 @@
-gboolean
+gboolean
nm_setting_connection_is_slave_type ()
@@ -211,7 +211,7 @@
-guint32
+guint32
nm_setting_connection_get_num_secondaries ()
@@ -226,7 +226,7 @@
-gboolean
+gboolean
nm_setting_connection_add_secondary ()
@@ -242,7 +242,7 @@
-gboolean
+gboolean
nm_setting_connection_remove_secondary_by_value ()
@@ -250,7 +250,7 @@
-guint32
+guint32
nm_setting_connection_get_gateway_ping_timeout ()
@@ -274,12 +274,20 @@
+
-gint
+gint
nm_setting_connection_get_auth_retries ()
+
+NMSettingConnectionMdns
+
+
+nm_setting_connection_get_mdns ()
+
+
GEnum
├── NMSettingConnectionAutoconnectSlaves
- ╰── NMSettingConnectionLldp
- GObject
+ ├── NMSettingConnectionLldp
+ ╰── NMSettingConnectionMdns
+ GObject
╰── NMSetting
╰── NMSettingConnection
@@ -687,7 +709,7 @@ nm_setting_connection_get_connection_type
gboolean +gboolean nm_setting_connection_get_autoconnect (NMSettingConnection *setting);Returns the “autoconnect” property of the connection.
@@ -713,7 +735,7 @@ nm_setting_connection_get_autoconnect (nm_setting_connection_get_autoconnect_priority ()
-gint +gint nm_setting_connection_get_autoconnect_priority (NMSettingConnection *setting);Returns the “autoconnect-priority” property of the connection. @@ -741,7 +763,7 @@ The higher number, the higher priority.
nm_setting_connection_get_autoconnect_retries ()
-gint +gint nm_setting_connection_get_autoconnect_retries (NMSettingConnection *setting);Returns the “autoconnect-retries” property of the connection. @@ -770,7 +792,7 @@ Zero means infinite, -1 means the global default value.
nm_setting_connection_get_timestamp ()
-guint64 +guint64 nm_setting_connection_get_timestamp (NMSettingConnection *setting);Returns the “timestamp” property of the connection.
@@ -796,7 +818,7 @@ nm_setting_connection_get_timestamp (nm_setting_connection_get_read_only ()
-gboolean +gboolean nm_setting_connection_get_read_only (NMSettingConnection *setting);Returns the “read-only” property of the connection.
nm_setting_connection_get_num_permissions ()
-guint32 +guint32 nm_setting_connection_get_num_permissions (NMSettingConnection *setting);Returns the number of entries in the “permissions” @@ -850,9 +872,9 @@ property of this setting.
nm_setting_connection_get_permission ()
-gboolean +gboolean nm_setting_connection_get_permission (@@ -891,7 +913,7 @@ of this setting.NMSettingConnection *setting, -guint32 idx, +guint32 idx,const char **out_ptype,const char **out_pitem,const char **out_detail);- out_detail
+ on return, the permission detail (at this time, always
NULL)on return, the permission detail (at this time, always
NULL)
nm_setting_connection_permissions_user_allowed ()
-gboolean
+gboolean
nm_setting_connection_permissions_user_allowed
(NMSettingConnection *setting,
const char *uname);
@@ -961,14 +983,14 @@ nm_setting_connection_permissions_user_allowed
Returns
- TRUE if the requested user is allowed to view this connection,
-FALSE if the given user is not allowed to view this connection
+ TRUE if the requested user is allowed to view this connection,
+FALSE if the given user is not allowed to view this connection
nm_setting_connection_add_permission ()
-gboolean
+gboolean
nm_setting_connection_add_permission (NMSettingConnection *setting,
const char *ptype,
const char *pitem,
@@ -1004,7 +1026,7 @@ the "user" permission type is supported, and pitem
detail
-unused at this time; must be NULL.
+unused at this time; must be NULL.
[allow-none]
@@ -1012,8 +1034,8 @@ the "user" permission type is supported, and pitem
Returns
- TRUE if the permission was unique and was successfully added to the
-list, FALSE if ptype
+
TRUE if the permission was unique and was successfully added to the
+list, FALSE if ptype
or pitem
was invalid or it the permission was already
present in the list
@@ -1025,7 +1047,7 @@ present in the list
void
nm_setting_connection_remove_permission
(NMSettingConnection *setting,
- guint32 idx);
+ guint32 idx);
Removes the permission at index idx
from the connection.
@@ -1054,7 +1076,7 @@ nm_setting_connection_remove_permission
nm_setting_connection_remove_permission_by_value ()
-gboolean
+gboolean
nm_setting_connection_remove_permission_by_value
(NMSettingConnection *setting,
const char *ptype,
@@ -1091,7 +1113,7 @@ be a username. See detail
-unused at this time; must be NULL.
+unused at this time; must be NULL.
[allow-none]
@@ -1099,7 +1121,7 @@ be a username. See
Returns
- TRUE if the permission was found and removed; FALSE if it was not.
+ TRUE if the permission was found and removed; FALSE if it was not.
@@ -1132,7 +1154,7 @@ connection.
nm_setting_connection_is_slave_type ()
-gboolean
+gboolean
nm_setting_connection_is_slave_type (NMSettingConnection *setting,
const char *type);
@@ -1161,7 +1183,7 @@ against setting
@@ -1223,7 +1245,7 @@ with the connection.
nm_setting_connection_get_num_secondaries ()
-guint32
+guint32
nm_setting_connection_get_num_secondaries
(NMSettingConnection *setting);
@@ -1251,7 +1273,7 @@ nm_setting_connection_get_num_secondaries
nm_setting_connection_get_secondary ()
const char *
nm_setting_connection_get_secondary (NMSettingConnection *setting,
- guint32 idx);
+ guint32 idx);
Parameters