diff options
author | Thomas Haller <thaller@redhat.com> | 2015-01-07 13:25:41 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-03 13:01:53 +0100 |
commit | ba74f9d2428c937014c3bcd02ac25591bbc1abc5 (patch) | |
tree | b197ff449ecb0a3e014bb4508a45fcb8fa31caa8 /src/nm-config-data.h | |
parent | 045a576a7ab8dac3f7aa9302532fa94e790c1f05 (diff) | |
download | NetworkManager-ba74f9d2428c937014c3bcd02ac25591bbc1abc5.tar.gz |
config: move keyfile values to NMConfigData
Diffstat (limited to 'src/nm-config-data.h')
-rw-r--r-- | src/nm-config-data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-config-data.h b/src/nm-config-data.h index cd6313cdf7..d3425632b0 100644 --- a/src/nm-config-data.h +++ b/src/nm-config-data.h @@ -38,6 +38,7 @@ G_BEGIN_DECLS #define NM_CONFIG_DATA_CONFIG_MAIN_FILE "config-main-file" #define NM_CONFIG_DATA_CONFIG_DESCRIPTION "config-description" +#define NM_CONFIG_DATA_KEYFILE "keyfile" #define NM_CONFIG_DATA_CONNECTIVITY_URI "connectivity-uri" #define NM_CONFIG_DATA_CONNECTIVITY_INTERVAL "connectivity-interval" #define NM_CONFIG_DATA_CONNECTIVITY_RESPONSE "connectivity-response" @@ -61,6 +62,8 @@ GHashTable *nm_config_data_diff (NMConfigData *old_data, NMConfigData *new_data) const char *nm_config_data_get_config_main_file (const NMConfigData *config_data); const char *nm_config_data_get_config_description (const NMConfigData *config_data); +char *nm_config_data_get_value (const NMConfigData *config_data, const char *group, const char *key, GError **error); + 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); |