本项止转自github官方arduino-esp32 传在这里仅为阅读源码方便
projectuser
2019-07-05 50148ccffe21ff54262064ec9f2245900eaf18aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * External password backend
 * Copyright (c) 2012, Jouni Malinen <j@w1.fi>
 *
 * This software may be distributed under the terms of the BSD license.
 * See README for more details.
 */
 
#ifndef EXT_PASSWORD_H
#define EXT_PASSWORD_H
 
struct ext_password_data;
 
#ifdef CONFIG_EXT_PASSWORD
 
struct ext_password_data * ext_password_init(const char *backend,
                         const char *params);
void ext_password_deinit(struct ext_password_data *data);
 
struct wpabuf * ext_password_get(struct ext_password_data *data,
                 const char *name);
void ext_password_free(struct wpabuf *pw);
 
#else /* CONFIG_EXT_PASSWORD */
 
#define ext_password_init(b, p)
#define ext_password_deinit(d)
#define ext_password_get(d, n)
#define ext_password_free(p)
 
#endif /* CONFIG_EXT_PASSWORD */
 
#endif /* EXT_PASSWORD_H */