summaryrefslogtreecommitdiff
path: root/src/dns/nm-dns-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/nm-dns-plugin.h')
-rw-r--r--src/dns/nm-dns-plugin.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dns/nm-dns-plugin.h b/src/dns/nm-dns-plugin.h
index e4a6cd40fa..be624730d2 100644
--- a/src/dns/nm-dns-plugin.h
+++ b/src/dns/nm-dns-plugin.h
@@ -48,10 +48,10 @@ typedef struct {
* 'global_config' is the optional global DNS
* configuration.
*/
- gboolean (*update) (NMDnsPlugin *self,
- const GPtrArray *configs,
- const NMGlobalDnsConfig *global_config,
- const char *hostname);
+ void (*update) (NMDnsPlugin *self,
+ const GPtrArray *configs,
+ const NMGlobalDnsConfig *global_config,
+ const char *hostname);
/* Subclasses should override this and return their plugin name */
const char *(*get_name) (NMDnsPlugin *self);
@@ -76,10 +76,10 @@ const char *nm_dns_plugin_get_name (NMDnsPlugin *self);
NMDnsPluginState nm_dns_plugin_get_state (NMDnsPlugin *self);
void nm_dns_plugin_set_state (NMDnsPlugin *self, NMDnsPluginState state);
-gboolean nm_dns_plugin_update (NMDnsPlugin *self,
- const GPtrArray *configs,
- const NMGlobalDnsConfig *global_config,
- const char *hostname);
+void nm_dns_plugin_update (NMDnsPlugin *self,
+ const GPtrArray *configs,
+ const NMGlobalDnsConfig *global_config,
+ const char *hostname);
void nm_dns_plugin_stop (NMDnsPlugin *self);