#include "config_ssid.h"
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | DEFAULT_EAPOL_VERSION 1 |
#define | DEFAULT_AP_SCAN 1 |
#define | DEFAULT_FAST_REAUTH 1 |
Functions | |
void | wpa_config_free (struct wpa_config *ssid) |
Free configuration data. | |
void | wpa_config_free_ssid (struct wpa_ssid *ssid) |
Free network/ssid configuration data. | |
wpa_ssid * | wpa_config_get_network (struct wpa_config *config, int id) |
Get configured network based on id. | |
wpa_ssid * | wpa_config_add_network (struct wpa_config *config) |
Add a new network with empty configuration. | |
int | wpa_config_remove_network (struct wpa_config *config, int id) |
Remove a configured network based on id. | |
void | wpa_config_set_network_defaults (struct wpa_ssid *ssid) |
Set network default values. | |
int | wpa_config_set (struct wpa_ssid *ssid, const char *var, const char *value, int line) |
Set a variable in network configuration. | |
char * | wpa_config_get (struct wpa_ssid *ssid, const char *var) |
Get a variable in network configuration. | |
char * | wpa_config_get_no_key (struct wpa_ssid *ssid, const char *var) |
Get a variable in network configuration (no keys). | |
void | wpa_config_update_psk (struct wpa_ssid *ssid) |
Update WPA PSK based on passphrase and SSID. | |
int | wpa_config_add_prio_network (struct wpa_config *config, struct wpa_ssid *ssid) |
Add a network to priority lists. | |
const struct wpa_config_blob * | wpa_config_get_blob (struct wpa_config *config, const char *name) |
Get a named configuration blob. | |
void | wpa_config_set_blob (struct wpa_config *config, struct wpa_config_blob *blob) |
Set or add a named configuration blob. | |
void | wpa_config_free_blob (struct wpa_config_blob *blob) |
Free blob data. | |
int | wpa_config_remove_blob (struct wpa_config *config, const char *name) |
Remove a named configuration blob. | |
wpa_config * | wpa_config_alloc_empty (const char *ctrl_interface, const char *driver_param) |
Allocate an empty configuration. | |
void | wpa_config_debug_dump_networks (struct wpa_config *config) |
Debug dump of configured networks. | |
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.
Definition in file config.h.
|
Add a new network with empty configuration.
Definition at line 1413 of file config.c. Here is the call graph for this function: |
|
Add a network to priority lists.
|
|
Allocate an empty configuration.
Definition at line 1731 of file config.c. Here is the call graph for this function: |
|
Debug dump of configured networks.
Definition at line 1758 of file config.c. Here is the call graph for this function: |
|
Free configuration data.
Definition at line 1326 of file config.c. Here is the call graph for this function: |
|
Free blob data.
|
|
Free network/ssid configuration data.
|
|
Get a variable in network configuration.
|
|
Get a named configuration blob.
|
|
Get configured network based on id.
|
|
Get a variable in network configuration (no keys).
Definition at line 1591 of file config.c. Here is the call graph for this function: |
|
Read and parse configuration database.
Each configuration backend needs to implement this function. Definition at line 245 of file config_file.c. Here is the call graph for this function: |
|
Remove a named configuration blob.
Definition at line 1702 of file config.c. Here is the call graph for this function: |
|
Remove a configured network based on id.
Definition at line 1450 of file config.c. Here is the call graph for this function: |
|
Set a variable in network configuration.
Definition at line 1509 of file config.c. Here is the call graph for this function: |
|
Set or add a named configuration blob.
Definition at line 1671 of file config.c. Here is the call graph for this function: |
|
Set network default values.
|
|
Update WPA PSK based on passphrase and SSID.
Definition at line 1630 of file config.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 692 of file config_file.c. Here is the call graph for this function: |