diff options
author | Thomas Haller <thaller@redhat.com> | 2014-07-09 15:17:01 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-03 13:01:53 +0100 |
commit | 1ff5154369f69f1e266521dd5f2ed53c37baa84f (patch) | |
tree | 7eecdd134bf4e5d6518982176c407b1468e67af6 /src/main-utils.h | |
parent | 9387e8e8a7a76732ae0eed7732d1f284cf82148a (diff) | |
download | NetworkManager-1ff5154369f69f1e266521dd5f2ed53c37baa84f.tar.gz |
config: add nm_config_setup() to initialize config singleton
Make nm_config_new() usable without accessing static/singleton data.
nm_config_setup() is now used to initialize the singleton.
Still, you must not call nm_config_get() before calling
nm_config_setup() or after freeing the provided singleton
instance.
Diffstat (limited to 'src/main-utils.h')
-rw-r--r-- | src/main-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main-utils.h b/src/main-utils.h index 30c8213ed3..432833f31d 100644 --- a/src/main-utils.h +++ b/src/main-utils.h @@ -33,7 +33,8 @@ gboolean nm_main_utils_early_setup (const char *progname, char **argv[], int *argc, GOptionEntry *options, - GOptionEntry *more_options, + void (*option_context_hook) (gpointer user_data, GOptionContext *opt_ctx), + gpointer option_context_hook_data, const char *summary); #endif /* __MAIN_UTILS_H__ */ |