summaryrefslogtreecommitdiff
path: root/src/nm-config-data.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-16 16:52:34 +0100
committerThomas Haller <thaller@redhat.com>2015-02-03 13:01:53 +0100
commit699b12ddc9ca502ad75077722d4af4f675377b40 (patch)
tree71f3c7193cbd709262a08d0c056525f286777435 /src/nm-config-data.h
parent83996c621cb7c55d17872fcbd4d2fae51977d839 (diff)
downloadNetworkManager-699b12ddc9ca502ad75077722d4af4f675377b40.tar.gz
config: refactor reloading not to create a second NMConfig instance
Diffstat (limited to 'src/nm-config-data.h')
-rw-r--r--src/nm-config-data.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nm-config-data.h b/src/nm-config-data.h
index 1437781e7d..042ce98164 100644
--- a/src/nm-config-data.h
+++ b/src/nm-config-data.h
@@ -50,15 +50,12 @@ typedef struct {
GType nm_config_data_get_type (void);
+NMConfigData *nm_config_data_new (GKeyFile *keyfile);
+
const char *nm_config_data_get_connectivity_uri (const NMConfigData *config_data);
const guint nm_config_data_get_connectivity_interval (const NMConfigData *config_data);
const char *nm_config_data_get_connectivity_response (const NMConfigData *config_data);
-#include "nm-config.h"
-
-/* private function: internal use only */
-void _nm_config_data_set_config (NMConfigData *config_data, NMConfig *config);
-
G_END_DECLS
#endif /* NM_CONFIG_DATA_H */