int __connman_ipconfig_set_ipv4(struct connman_ipconfig *ipconfig,
const char *key, DBusMessageIter *value);
+int __connman_ipconfig_load(struct connman_ipconfig *ipconfig,
+ GKeyFile *keyfile, const char *identifier, const char *prefix);
+int __connman_ipconfig_save(struct connman_ipconfig *ipconfig,
+ GKeyFile *keyfile, const char *identifier, const char *prefix);
+
#include <connman/inet.h>
#include <connman/rfkill.h>
return 0;
}
+int __connman_ipconfig_load(struct connman_ipconfig *ipconfig,
+ GKeyFile *keyfile, const char *identifier, const char *prefix)
+{
+ DBG("ipconfig %p identifier %s", ipconfig, identifier);
+
+ return 0;
+}
+
+int __connman_ipconfig_save(struct connman_ipconfig *ipconfig,
+ GKeyFile *keyfile, const char *identifier, const char *prefix)
+{
+ DBG("ipconfig %p identifier %s", ipconfig, identifier);
+
+ return 0;
+}
+
static GSList *driver_list = NULL;
static gint compare_priority(gconstpointer a, gconstpointer b)
service->passphrase = str;
}
+ __connman_ipconfig_load(service->ipconfig, keyfile,
+ service->identifier, "IPv4.");
+
g_key_file_free(keyfile);
return 0;
g_key_file_set_string(keyfile, service->identifier,
"Passphrase", service->passphrase);
+ __connman_ipconfig_save(service->ipconfig, keyfile,
+ service->identifier, "IPv4.");
+
data = g_key_file_to_data(keyfile, &length, NULL);
if (g_file_set_contents(pathname, data, length, NULL) == FALSE)