]>
Commit | Line | Data |
---|---|---|
965e99b5 MW |
1 | /* |
2 | * Copyright (C) 2007 Martin Willi | |
19ef2aec TB |
3 | * |
4 | * Copyright (C) secunet Security Networks AG | |
965e99b5 MW |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | |
7 | * under the terms of the GNU General Public License as published by the | |
8 | * Free Software Foundation; either version 2 of the License, or (at your | |
9 | * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, but | |
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
13 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | * for more details. | |
552cc11b MW |
15 | */ |
16 | ||
17 | /** | |
18 | * @defgroup auth_controller auth_controller | |
11adf114 | 19 | * @{ @ingroup manager_controller |
965e99b5 MW |
20 | */ |
21 | ||
22 | #ifndef AUTH_CONTROLLER_H_ | |
23 | #define AUTH_CONTROLLER_H_ | |
24 | ||
890f2098 | 25 | #include <fast_controller.h> |
965e99b5 MW |
26 | |
27 | typedef struct auth_controller_t auth_controller_t; | |
28 | ||
29 | /** | |
552cc11b | 30 | * Authentication controller. |
965e99b5 MW |
31 | */ |
32 | struct auth_controller_t { | |
33 | ||
34 | /** | |
35 | * Implements controller_t interface. | |
36 | */ | |
890f2098 | 37 | fast_controller_t controller; |
965e99b5 MW |
38 | }; |
39 | ||
40 | /** | |
552cc11b | 41 | * Create a auth_controller controller instance. |
965e99b5 | 42 | */ |
890f2098 | 43 | fast_controller_t *auth_controller_create(fast_context_t *context, void *param); |
965e99b5 | 44 | |
1490ff4d | 45 | #endif /** AUTH_CONTROLLER_H_ @}*/ |