blob: 78c1b3ddc60c178c6bbe5d788316cb5b03681647 [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * WPA Supplicant - Glue code to setup EAPOL and RSN modules
3 * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15#ifndef WPAS_GLUE_H
16#define WPAS_GLUE_H
17
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080018enum wpa_ctrl_req_type;
19
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070020int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
21int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
22void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
23 struct wpa_ssid *ssid);
24
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080025const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
26 const char *default_txt,
27 const char **txt);
28
29enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
30
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070031#endif /* WPAS_GLUE_H */