From c5e7e2f69403e59dbc7676ff60ecc1d36a703207 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 17 Jun 2021 16:20:17 +0200 Subject: dhcp/trivial: rename "NMDhcpClientFactory.experimental" to "NMDhcpClientFactory.undocumented" It's not experimental. It's not officially documented. Rename. --- src/core/dhcp/nm-dhcp-client.h | 4 +++- src/core/dhcp/nm-dhcp-manager.c | 2 +- src/core/dhcp/nm-dhcp-nettools.c | 2 +- src/core/dhcp/nm-dhcp-systemd.c | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/dhcp/nm-dhcp-client.h b/src/core/dhcp/nm-dhcp-client.h index 9e3ccc8fed..601225ecd6 100644 --- a/src/core/dhcp/nm-dhcp-client.h +++ b/src/core/dhcp/nm-dhcp-client.h @@ -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); diff --git a/src/core/dhcp/nm-dhcp-manager.c b/src/core/dhcp/nm-dhcp-manager.c index b264d2abeb..c3328b010b 100644 --- a/src/core/dhcp/nm-dhcp-manager.c +++ b/src/core/dhcp/nm-dhcp-manager.c @@ -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 */ diff --git a/src/core/dhcp/nm-dhcp-nettools.c b/src/core/dhcp/nm-dhcp-nettools.c index ddc86738b8..f755eebca3 100644 --- a/src/core/dhcp/nm-dhcp-nettools.c +++ b/src/core/dhcp/nm-dhcp-nettools.c @@ -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, }; diff --git a/src/core/dhcp/nm-dhcp-systemd.c b/src/core/dhcp/nm-dhcp-systemd.c index 4f93aef71a..4bb58ee354 100644 --- a/src/core/dhcp/nm-dhcp-systemd.c +++ b/src/core/dhcp/nm-dhcp-systemd.c @@ -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, }; /*****************************************************************************/ -- cgit v1.2.3