123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #include "includes.h"
- #include "common.h"
- #include "config.h"
- #include "base64.h"
- struct wpa_config * wpa_config_read(const char *name)
- {
- struct wpa_config *config;
- config = wpa_config_alloc_empty(NULL, NULL);
- if (config == NULL)
- return NULL;
-
- return config;
- }
- int wpa_config_write(const char *name, struct wpa_config *config)
- {
- struct wpa_ssid *ssid;
- struct wpa_config_blob *blob;
- wpa_printf(MSG_DEBUG, "Writing configuration file '%s'", name);
-
- for (ssid = config->ssid; ssid; ssid = ssid->next) {
-
- }
- for (blob = config->blobs; blob; blob = blob->next) {
-
- }
- return 0;
- }
|