diff options
author | Martin Willi <martin@strongswan.org> | 2007-11-12 15:09:11 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-11-12 15:09:11 +0000 |
commit | 55b02db74e09e43a7a86b60357242c77b5617f26 (patch) | |
tree | 5c823698f8e734537e0825c25331742280ceef1a /src/manager/controller/control_controller.h | |
parent | 275cec2eac14885ca86d3c3b0346d81960d0a219 (diff) | |
download | strongswan-55b02db74e09e43a7a86b60357242c77b5617f26.tar.bz2 strongswan-55b02db74e09e43a7a86b60357242c77b5617f26.tar.xz |
implemented IKE/CHILD_SA close through manager
Diffstat (limited to 'src/manager/controller/control_controller.h')
-rw-r--r-- | src/manager/controller/control_controller.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/manager/controller/control_controller.h b/src/manager/controller/control_controller.h new file mode 100644 index 000000000..6a55170aa --- /dev/null +++ b/src/manager/controller/control_controller.h @@ -0,0 +1,47 @@ +/** + * @file control_controller.h + * + * @brief Interface of control_controller_t. + * + */ + +/* + * Copyright (C) 2007 Martin Willi + * Hochschule fuer Technik Rapperswil + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +#ifndef CONTROL_CONTROLLER_H_ +#define CONTROL_CONTROLLER_H_ + + +#include <controller.h> + +typedef struct control_controller_t control_controller_t; + +/** + * @brief Status controller. + */ +struct control_controller_t { + + /** + * Implements controller_t interface. + */ + controller_t controller; +}; + +/** + * @brief Create a control_controller controller instance. + */ +controller_t *control_controller_create(context_t *context, void *param); + +#endif /* CONTROL_CONTROLLER_H_ */ |