From ba74f9d2428c937014c3bcd02ac25591bbc1abc5 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 7 Jan 2015 13:25:41 +0100 Subject: config: move keyfile values to NMConfigData --- src/nm-config-data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nm-config-data.h') 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); -- cgit v1.2.1