aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/configuration.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-18 07:07:32 +0000
committerMartin Willi <martin@strongswan.org>2005-11-18 07:07:32 +0000
commitd768cb67902783f4275f08042d4f3ce6f1c0984a (patch)
tree6afd64b4f8a2613ab94f557748b1a711ce8ec349 /Source/charon/configuration.c
parent4750f6c667bd923e8b1b1dae180e40531aaba34d (diff)
downloadstrongswan-d768cb67902783f4275f08042d4f3ce6f1c0984a.tar.bz2
strongswan-d768cb67902783f4275f08042d4f3ce6f1c0984a.tar.xz
- redefined logger levels
Diffstat (limited to 'Source/charon/configuration.c')
-rw-r--r--Source/charon/configuration.c78
1 files changed, 0 insertions, 78 deletions
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 <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.
- */
-
-#include <stdlib.h>
-
-#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);
-}