本项止转自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
/*
 * External password backend - internal definitions
 * 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_I_H
#define EXT_PASSWORD_I_H
 
#include "ext_password.h"
 
struct ext_password_backend {
    const char *name;
    void * (*init)(const char *params);
    void (*deinit)(void *ctx);
    struct wpabuf * (*get)(void *ctx, const char *name);
};
 
struct wpabuf * ext_password_alloc(size_t len);
 
#endif /* EXT_PASSWORD_I_H */