dhcp/trivial: rename "NMDhcpClientFactory.experimental" to "NMDhcpClientFactory.undocumented"

It's not experimental. It's not officially documented. Rename.
This commit is contained in:
Thomas Haller 2021-06-17 16:20:17 +02:00
parent eb3ef97dd0
commit c5e7e2f694
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
4 changed files with 6 additions and 4 deletions

View file

@ -221,7 +221,9 @@ typedef struct {
GType (*get_type_6)(void);
const char *name;
const char *(*get_path)(void);
bool experimental : 1;
/* whether this plugin is an undocumented, internal plugin. */
bool undocumented : 1;
} NMDhcpClientFactory;
GType nm_dhcp_nettools_get_type(void);

View file

@ -600,7 +600,7 @@ nm_dhcp_manager_init(NMDhcpManager *self)
"dhcp-init: enabled DHCP client '%s'%s%s",
f->name,
_client_factory_available(f) ? "" : " (not available)",
f->experimental ? " (undocumented internal plugin)" : "");
f->undocumented ? " (undocumented internal plugin)" : "");
}
/* Client-specific setup */

View file

@ -1249,5 +1249,5 @@ nm_dhcp_nettools_class_init(NMDhcpNettoolsClass *class)
const NMDhcpClientFactory _nm_dhcp_client_factory_nettools = {
.name = "nettools",
.get_type_4 = nm_dhcp_nettools_get_type,
.experimental = TRUE,
.undocumented = TRUE,
};

View file

@ -1126,7 +1126,7 @@ const NMDhcpClientFactory _nm_dhcp_client_factory_systemd = {
.name = "systemd",
.get_type_4 = nm_dhcp_systemd_get_type,
.get_type_6 = nm_dhcp_systemd_get_type,
.experimental = TRUE,
.undocumented = TRUE,
};
/*****************************************************************************/