diff options
author | Thomas Haller <thaller@redhat.com> | 2015-07-08 19:39:00 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-07-14 15:52:50 +0200 |
commit | 09ba572174e9109988ede039342b6098d61bc7e0 (patch) | |
tree | 839087a24630b42f4b735d0ed8289fc616c1c3c4 /src/nm-config.h | |
parent | aa54d5a36eb329e4a9b9fb6e62633cd58c431f96 (diff) | |
download | NetworkManager-09ba572174e9109988ede039342b6098d61bc7e0.tar.gz |
config: move debug command line option to NMConfig
Whether NM runs in debug mode is also interesting to other
components outside of "main.c". Expose global_opt.debug
via a new nm_config_get_is_debug() function.
Actually, we should move parsing of all command line options
to NMConfig, as NMConfig is the central instance to provide
such information.
Diffstat (limited to 'src/nm-config.h')
-rw-r--r-- | src/nm-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-config.h b/src/nm-config.h index 3caf0c5c31..113664e79e 100644 --- a/src/nm-config.h +++ b/src/nm-config.h @@ -102,6 +102,7 @@ const char *nm_config_get_log_level (NMConfig *config); const char *nm_config_get_log_domains (NMConfig *config); const char *nm_config_get_debug (NMConfig *config); gboolean nm_config_get_configure_and_quit (NMConfig *config); +gboolean nm_config_get_is_debug (NMConfig *config); void nm_config_set_values (NMConfig *self, GKeyFile *keyfile_intern_new, |