Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "includes.h"
00020
00021 #include "common.h"
00022 #include "config.h"
00023 #include "base64.h"
00024
00025
00026 struct wpa_config * wpa_config_read(const char *name)
00027 {
00028 struct wpa_config *config;
00029
00030 config = wpa_config_alloc_empty(NULL, NULL);
00031 if (config == NULL)
00032 return NULL;
00033
00034 return config;
00035 }
00036
00037
00038 int wpa_config_write(const char *name, struct wpa_config *config)
00039 {
00040 struct wpa_ssid *ssid;
00041 struct wpa_config_blob *blob;
00042
00043 wpa_printf(MSG_DEBUG, "Writing configuration file '%s'", name);
00044
00045
00046
00047
00048 for (ssid = config->ssid; ssid; ssid = ssid->next) {
00049
00050 }
00051
00052 for (blob = config->blobs; blob; blob = blob->next) {
00053
00054 }
00055
00056 return 0;
00057 }