Annotation of embedaddon/strongswan/src/medsrv/controller/user_controller.h, revision 1.1

1.1     ! misho       1: /*
        !             2:  * Copyright (C) 2008 Martin Willi
        !             3:  * Copyright (C) 2008 Philip Boetschi, Adrian Doerig
        !             4:  * HSR Hochschule fuer Technik Rapperswil
        !             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.
        !            15:  */
        !            16: 
        !            17: /**
        !            18:  * @defgroup user_controller_server user_controller
        !            19:  * @{ @ingroup medsrv
        !            20:  */
        !            21: 
        !            22: #ifndef USER_CONTROLLER_H_
        !            23: #define USER_CONTROLLER_H_
        !            24: 
        !            25: #include <user.h>
        !            26: 
        !            27: #include <fast_controller.h>
        !            28: #include <database/database.h>
        !            29: 
        !            30: typedef struct user_controller_t user_controller_t;
        !            31: 
        !            32: /**
        !            33:  * User controller. Register, Login and user management.
        !            34:  */
        !            35: struct user_controller_t {
        !            36: 
        !            37:        /**
        !            38:         * Implements controller_t interface.
        !            39:         */
        !            40:        fast_controller_t controller;
        !            41: };
        !            42: 
        !            43: /**
        !            44:  * Create a user_controller controller instance.
        !            45:  */
        !            46: fast_controller_t *user_controller_create(user_t *user, database_t *db);
        !            47: 
        !            48: #endif /** USER_CONTROLLER_H_ @}*/

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>