From d768cb67902783f4275f08042d4f3ce6f1c0984a Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 18 Nov 2005 07:07:32 +0000 Subject: - redefined logger levels --- Source/charon/configuration.c | 78 ------------------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 Source/charon/configuration.c (limited to 'Source/charon/configuration.c') diff --git a/Source/charon/configuration.c b/Source/charon/configuration.c deleted file mode 100644 index 8c960ebe9..000000000 --- a/Source/charon/configuration.c +++ /dev/null @@ -1,78 +0,0 @@ -/** - * @file configuration.c - * - * @brief Configuration class used to store IKE_SA-configurations. - * - * Object of this type represents a configuration for an IKE_SA and its child_sa's. - * - */ - -/* - * Copyright (C) 2005 Jan Hutter, 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 . - * - * 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. - */ - -#include - -#include "configuration.h" - -#include "types.h" -#include "utils/allocator.h" - -/** - * Private data of an configuration_t object - */ -typedef struct private_configuration_s private_configuration_t; - -struct private_configuration_s { - - /** - * Public part of a configuration_t object - */ - configuration_t public; - - - /* Private values */ -}; - -/** - * Implements function destroy of configuration_t. - * See #configuration_s.destroy for description. - */ -static status_t destroy (private_configuration_t *this) -{ - if (this == NULL) - { - return FAILED; - } - allocator_free(this); - return SUCCESS; -} - -/* - * Described in header-file - */ -configuration_t * configuration_create() -{ - private_configuration_t *this = allocator_alloc_thing(private_configuration_t); - if (this == NULL) - { - return NULL; - } - - /* public functions */ - this->public.destroy = (status_t(*)(configuration_t*))destroy; - - - return (&this->public); -} -- cgit v1.2.3