summaryrefslogtreecommitdiff
path: root/src/nm-config.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-06-25 21:10:32 +0200
committerThomas Haller <thaller@redhat.com>2015-06-25 22:02:18 +0200
commitcaed15e082efe0af2db3d8a88f72d27640fb381f (patch)
tree96a1349a32c139df507a9adcfc5bc9f77f3f0518 /src/nm-config.h
parentc2754ede5cc26a76e5804c09003c2175ef48cf6a (diff)
downloadNetworkManager-caed15e082efe0af2db3d8a88f72d27640fb381f.tar.gz
config: pass signals to nm_config_reload()
Also react on SIGUSR1 and SIGUSR2, beside SIGHUP. Only for SIGHUP actually reload the configuration from disc. For the other signals only emit a config-changed signal.
Diffstat (limited to 'src/nm-config.h')
-rw-r--r--src/nm-config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-config.h b/src/nm-config.h
index 29d6566323..d4f5e94f3c 100644
--- a/src/nm-config.h
+++ b/src/nm-config.h
@@ -86,7 +86,7 @@ void nm_config_set_no_auto_default_for_device (NMConfig *config, NMDevice *devi
NMConfig *nm_config_new (const NMConfigCmdLineOptions *cli, GError **error);
NMConfig *nm_config_setup (const NMConfigCmdLineOptions *cli, GError **error);
-void nm_config_reload (NMConfig *config);
+void nm_config_reload (NMConfig *config, int signal);
GKeyFile *nm_config_create_keyfile (void);
gboolean nm_config_keyfile_get_boolean (GKeyFile *keyfile,