diff options
author | Thomas Haller <thaller@redhat.com> | 2015-11-06 16:45:27 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-04-07 10:15:01 +0200 |
commit | 1b43c880ba43260fe551b0ac923826f16737484f (patch) | |
tree | 5240da5f5db2f003f9fe1e467e7684407b51efe2 /src/nm-manager.h | |
parent | 350d96a9eeb39f06ca7a139289c11f2a1d3f891c (diff) |
config: let NMConfig handle "NetworkManager.state" file (bgo#764474)
Move reading and writing of the state file to NMConfig
("/var/lib/NetworkManager/NetworkManager.state" file).
Originally, I intended to persist more state, thus it made
sense to cleanup handling of the state file and move it all
at one place. Now, it's not clear that will happen anytime soon.
Still, the change is a worthy cleanup, so do it anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=764474
Diffstat (limited to 'src/nm-manager.h')
-rw-r--r-- | src/nm-manager.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nm-manager.h b/src/nm-manager.h index 5401b002c1..24e8054bfa 100644 --- a/src/nm-manager.h +++ b/src/nm-manager.h @@ -55,7 +55,6 @@ /* Not exported */ #define NM_MANAGER_HOSTNAME "hostname" #define NM_MANAGER_SLEEPING "sleeping" -#define NM_MANAGER_STATE_FILE "state-file" /* signals */ #define NM_MANAGER_CHECK_PERMISSIONS "check-permissions" @@ -88,10 +87,7 @@ typedef struct { GType nm_manager_get_type (void); /* nm_manager_setup() should only be used by main.c */ -NMManager * nm_manager_setup (const char *state_file, - gboolean initial_net_enabled, - gboolean initial_wifi_enabled, - gboolean initial_wwan_enabled); +NMManager * nm_manager_setup (void); NMManager * nm_manager_get (void); |