]>
Commit | Line | Data |
---|---|---|
b031338c JM |
1 | /* |
2 | * RADIUS Dynamic Authorization Server (DAS) | |
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 RADIUS_DAS_H | |
10 | #define RADIUS_DAS_H | |
11 | ||
12 | struct radius_das_data; | |
13 | ||
14 | struct radius_das_conf { | |
15 | int port; | |
16 | const u8 *shared_secret; | |
17 | size_t shared_secret_len; | |
18 | const struct hostapd_ip_addr *client_addr; | |
bde7ba6c JM |
19 | unsigned int time_window; |
20 | int require_event_timestamp; | |
b031338c JM |
21 | }; |
22 | ||
23 | struct radius_das_data * | |
24 | radius_das_init(struct radius_das_conf *conf); | |
25 | ||
26 | void radius_das_deinit(struct radius_das_data *data); | |
27 | ||
28 | #endif /* RADIUS_DAS_H */ |