From 8394ea2a42eb23ba22471d913dcf47e6067109e1 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 12 Feb 2016 15:30:18 +0100 Subject: libhydra: Move kernel interface to libcharon This moves hydra->kernel_interface to charon->kernel. --- src/libhydra/hydra.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/libhydra/hydra.h') diff --git a/src/libhydra/hydra.h b/src/libhydra/hydra.h index b23a30584..df9c69ddf 100644 --- a/src/libhydra/hydra.h +++ b/src/libhydra/hydra.h @@ -31,8 +31,6 @@ typedef struct hydra_t hydra_t; -#include - #include /** @@ -40,10 +38,6 @@ typedef struct hydra_t hydra_t; */ struct hydra_t { - /** - * kernel interface to communicate with kernel - */ - kernel_interface_t *kernel_interface; }; /** -- cgit v1.2.3 From 28649f6d91971e0fe50078aec2937010e8c61cd8 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 12 Feb 2016 16:35:54 +0100 Subject: libhydra: Remove empty unused library --- src/libhydra/hydra.h | 65 ---------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 src/libhydra/hydra.h (limited to 'src/libhydra/hydra.h') diff --git a/src/libhydra/hydra.h b/src/libhydra/hydra.h deleted file mode 100644 index df9c69ddf..000000000 --- a/src/libhydra/hydra.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2010 Tobias Brunner - * 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 . - * - * 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 libhydra libhydra - * - * @defgroup hkernel kernel - * @ingroup libhydra - * - * @defgroup hplugins plugins - * @ingroup libhydra - * - * @addtogroup libhydra - * @{ - */ - -#ifndef HYDRA_H_ -#define HYDRA_H_ - -typedef struct hydra_t hydra_t; - -#include - -/** - * IKE Daemon support object. - */ -struct hydra_t { - -}; - -/** - * The single instance of hydra_t. - * - * Set between calls to libhydra_init() and libhydra_deinit() calls. - */ -extern hydra_t *hydra; - -/** - * Initialize libhydra. - * - * libhydra_init() may be called multiple times in a single process, but each - * caller must call libhydra_deinit() for each call to libhydra_init(). - * - * @return FALSE if integrity check failed - */ -bool libhydra_init(); - -/** - * Deinitialize libhydra. - */ -void libhydra_deinit(); - -#endif /** HYDRA_H_ @}*/ -- cgit v1.2.3