2 * Copyright (C) 2008 Martin Willi
3 * Copyright (C) 2008 Philip Boetschi, Adrian Doerig
4 * Hochschule fuer Technik Rapperswil
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>.
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
18 * @defgroup auth_filter_server auth_filter
19 * @{ @ingroup filter_server
22 #ifndef AUTH_FILTER_H_
23 #define AUTH_FILTER_H_
30 typedef struct auth_filter_t auth_filter_t
;
33 * Authentication/Authorization filter.
35 struct auth_filter_t
{
38 * Implements filter_t interface.
44 * Create a auth_filter instance.
46 filter_t
*auth_filter_create(user_t
*user
, database_t
*db
);
48 #endif /* AUTH_FILTER_H_ @}*/