source: rtems-libbsd/freebsd/contrib/wpa/src/utils/ext_password.h @ 8f2267b

55-freebsd-126-freebsd-12
Last change on this file since 8f2267b was 9c9d11b, checked in by Sichen Zhao <1473996754@…>, on 08/01/17 at 12:43:41

Import wpa from FreeBSD

  • Property mode set to 100644
File size: 855 bytes
Line 
1/*
2 * External password backend
3 * Copyright (c) 2012, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef EXT_PASSWORD_H
10#define EXT_PASSWORD_H
11
12struct ext_password_data;
13
14#ifdef CONFIG_EXT_PASSWORD
15
16struct ext_password_data * ext_password_init(const char *backend,
17                                             const char *params);
18void ext_password_deinit(struct ext_password_data *data);
19
20struct wpabuf * ext_password_get(struct ext_password_data *data,
21                                 const char *name);
22void ext_password_free(struct wpabuf *pw);
23
24#else /* CONFIG_EXT_PASSWORD */
25
26#define ext_password_init(b, p) ((void *) 1)
27#define ext_password_deinit(d) do { } while (0)
28#define ext_password_get(d, n) (NULL)
29#define ext_password_free(p) do { } while (0)
30
31#endif /* CONFIG_EXT_PASSWORD */
32
33#endif /* EXT_PASSWORD_H */
Note: See TracBrowser for help on using the repository browser.