diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-01-02 14:18:20 +0100 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-01-02 14:18:20 +0100 |
commit | 2ea5b8ab2fa64487af984af2162039596a06015a (patch) | |
tree | 58f9a4372d6007b33b1fca63ab18b53aa34b090d /src/pluto/pluto.h | |
parent | 4e331141b8693e5214b82fdd6c3c6f4fa65eafca (diff) | |
parent | c1343b3278cdf99533b7902744d15969f9d6fdc1 (diff) | |
download | vyos-strongswan-2ea5b8ab2fa64487af984af2162039596a06015a.tar.gz vyos-strongswan-2ea5b8ab2fa64487af984af2162039596a06015a.zip |
Merge tag 'upstream/5.0.1'
Upstream version 5.0.1
Diffstat (limited to 'src/pluto/pluto.h')
-rw-r--r-- | src/pluto/pluto.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/src/pluto/pluto.h b/src/pluto/pluto.h deleted file mode 100644 index 2440093ca..000000000 --- a/src/pluto/pluto.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2010 Andreas Steffen - * 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. - */ - -/** - * @defgroup pluto pluto - * - * @defgroup xauth xauth - * @ingroup pluto - * - * @defgroup pplugins plugins - * @ingroup pluto - * - * @addtogroup pluto - * @{ - */ - -#ifndef PLUTO_H_ -#define PLUTO_H_ - -typedef struct pluto_t pluto_t; - -#include <event_queue.h> -#include <xauth/xauth_manager.h> - -#include <library.h> - -/** - * Pluto daemon support object. - */ -struct pluto_t { - - /** - * event queue (callbacks, executed by the pluto main thread) - */ - event_queue_t *events; - - /** - * manager for payload attributes - */ - xauth_manager_t *xauth; - -}; - -/** - * The single instance of pluto_t. - * - * Set between calls to pluto_init() and pluto_deinit() calls. - */ -extern pluto_t *pluto; - -/** - * Initialize pluto. - * - * @return FALSE if integrity check failed - */ -bool pluto_init(char *file); - -/** - * Deinitialize pluto. - */ -void pluto_deinit(void); - -#endif /** PLUTO_H_ @}*/ - |