aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-04-04 17:10:49 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-04 17:13:53 (GMT)
commitc880ab87eef081bc45593cb012b61b66b5503a40 (patch)
tree71b66c157431ce827d7cc85df38d6d63848848d9 /wpa_supplicant/config.h
parent1619e9d51232287a6eaa94af75133551d7533409 (diff)
downloadhostap-c880ab87eef081bc45593cb012b61b66b5503a40.zip
hostap-c880ab87eef081bc45593cb012b61b66b5503a40.tar.gz
hostap-c880ab87eef081bc45593cb012b61b66b5503a40.tar.bz2
Interworking: Add GET_CRED ctrl_iface command
"GET_CRED <id> <field>" can now be used to fetch credential parameters over the control interface. This does not allow passwords etc. private material to be retrieved ("*" is returned for those if the value is set regardless of the value). FAIL is returned if the requested parameter has not been set. For cred parameters that can have multiple values, newline separated list of values is returned. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index de43970..a398049 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1053,6 +1053,7 @@ 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);
+char * wpa_config_get_cred_no_key(struct wpa_cred *cred, const char *var);
struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,
const char *driver_param);