wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ext_password.h
Go to the documentation of this file.
1 
5 #ifndef EXT_PASSWORD_H
6 #define EXT_PASSWORD_H
7 
8 struct ext_password_data;
9 
10 #ifdef CONFIG_EXT_PASSWORD
11 
12 struct ext_password_data * ext_password_init(const char *backend,
13  const char *params);
14 void ext_password_deinit(struct ext_password_data *data);
15 
16 struct wpabuf * ext_password_get(struct ext_password_data *data,
17  const char *name);
18 void ext_password_free(struct wpabuf *pw);
19 
20 #else /* CONFIG_EXT_PASSWORD */
21 
22 #define ext_password_init(b, p) ((void *) 1)
23 #define ext_password_deinit(d) do { } while (0)
24 #define ext_password_get(d, n) (NULL)
25 #define ext_password_free(p) do { } while (0)
26 
27 #endif /* CONFIG_EXT_PASSWORD */
28 
29 #endif /* EXT_PASSWORD_H */
Definition: wpabuf.h:16
Definition: ext_password.c:26