summaryrefslogtreecommitdiffstats
path: root/contrib/wpa_supplicant/config_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa_supplicant/config_none.c')
-rw-r--r--contrib/wpa_supplicant/config_none.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/contrib/wpa_supplicant/config_none.c b/contrib/wpa_supplicant/config_none.c
deleted file mode 100644
index 2e9ccc0..0000000
--- a/contrib/wpa_supplicant/config_none.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * WPA Supplicant / Configuration backend: empty starting point
- * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Alternatively, this software may be distributed under the terms of BSD
- * license.
- *
- * See README and COPYING for more details.
- *
- * This file implements dummy example of a configuration backend. None of the
- * functions are actually implemented so this can be used as a simple
- * compilation test or a starting point for a new configuration backend.
- */
-
-#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;
- /* TODO: fill in configuration data */
- 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);
-
- /* TODO: write global config parameters */
-
-
- for (ssid = config->ssid; ssid; ssid = ssid->next) {
- /* TODO: write networks */
- }
-
- for (blob = config->blobs; blob; blob = blob->next) {
- /* TODO: write blobs */
- }
-
- return 0;
-}
OpenPOWER on IntegriCloud