#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "common.h"
#include "wpa.h"
#include "wpa_supplicant.h"
#include "config.h"
#include "base64.h"
Include dependency graph for config_file.c:
Go to the source code of this file.
Defines | |
#define | STR(t) write_str(f, #t, ssid) |
#define | INT(t) write_int(f, #t, ssid->t, 0) |
#define | INT_DEF(t, def) write_int(f, #t, ssid->t, def) |
Functions | |
wpa_config * | wpa_config_read (const char *name) |
Read and parse configuration database. | |
int | wpa_config_write (const char *name, struct wpa_config *config) |
Write or update configuration data. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
This file implements a configuration backend for text files. All the configuration information is stored in a text file that uses a format described in the sample configuration file, wpa_supplicant.conf.
Definition in file config_file.c.
|
Read and parse configuration database.
Each configuration backend needs to implement this function. Definition at line 213 of file config_file.c. Here is the call graph for this function: |
|
Write or update configuration data.
Each configuration backend needs to implement this function. Definition at line 624 of file config_file.c. Here is the call graph for this function: |