aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-02-16 16:36:00 +0200
committerJouni Malinen <j@w1.fi>2012-02-16 16:36:00 +0200
commitd94c9ee6ad61073cc8b419f3b54cc077cfb8d5bd (patch)
tree92689490b912855e5e702e8fce82a479dfd3aee1 /wpa_supplicant/config.h
parentf2c207515aa969e1ada77c33ea850e0778506a31 (diff)
downloadexternal_wpa_supplicant_8_ti-d94c9ee6ad61073cc8b419f3b54cc077cfb8d5bd.zip
external_wpa_supplicant_8_ti-d94c9ee6ad61073cc8b419f3b54cc077cfb8d5bd.tar.gz
external_wpa_supplicant_8_ti-d94c9ee6ad61073cc8b419f3b54cc077cfb8d5bd.tar.bz2
Interworking: Add ctrl_iface commands for managing credentials
New wpa_cli commands list_creds, add_cred, remove_cred, and set_cred can now be used to manage credentials similarly to the commands used with network blocks. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index e45b608..35fdc94 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -547,6 +547,9 @@ void wpa_config_set_blob(struct wpa_config *config,
void wpa_config_free_blob(struct wpa_config_blob *blob);
int wpa_config_remove_blob(struct wpa_config *config, const char *name);
+struct wpa_cred * wpa_config_get_cred(struct wpa_config *config, int id);
+struct wpa_cred * wpa_config_add_cred(struct wpa_config *config);
+int wpa_config_remove_cred(struct wpa_config *config, int id);
void wpa_config_free_cred(struct wpa_cred *cred);
int wpa_config_set_cred(struct wpa_cred *cred, const char *var,
const char *value, int line);