aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-28 14:49:16 +0200
committerMartin Willi <martin@revosec.ch>2010-04-07 13:55:15 +0200
commit06308d9ede98fef049b68e4cb94abd3a6787b090 (patch)
treea9f323355af815732e0728075d46be03eae7ed68 /src/charon/plugins
parent3912fdb1ec1d40358b12c945d878ef47ca9f534b (diff)
downloadstrongswan-06308d9ede98fef049b68e4cb94abd3a6787b090.tar.bz2
strongswan-06308d9ede98fef049b68e4cb94abd3a6787b090.tar.xz
Removed obsolete socket subclasses
Diffstat (limited to 'src/charon/plugins')
-rw-r--r--src/charon/plugins/ha_sync/ha_sync_kernel.c2
-rw-r--r--src/charon/plugins/ha_sync/ha_sync_socket.c44
2 files changed, 0 insertions, 46 deletions
diff --git a/src/charon/plugins/ha_sync/ha_sync_kernel.c b/src/charon/plugins/ha_sync/ha_sync_kernel.c
index 199182022..81b853d7a 100644
--- a/src/charon/plugins/ha_sync/ha_sync_kernel.c
+++ b/src/charon/plugins/ha_sync/ha_sync_kernel.c
@@ -212,8 +212,6 @@ static void destroy(private_ha_sync_kernel_t *this)
ha_sync_kernel_t *ha_sync_kernel_create(u_int count, char *virtuals)
{
private_ha_sync_kernel_t *this = malloc_thing(private_ha_sync_kernel_t);
- segment_mask_t active;
- int i;
this->public.in_segment = (bool(*)(ha_sync_kernel_t*, host_t *host, u_int segment))in_segment;
this->public.activate = (void(*)(ha_sync_kernel_t*, u_int segment))activate;
diff --git a/src/charon/plugins/ha_sync/ha_sync_socket.c b/src/charon/plugins/ha_sync/ha_sync_socket.c
index bc010b76d..cbbe16711 100644
--- a/src/charon/plugins/ha_sync/ha_sync_socket.c
+++ b/src/charon/plugins/ha_sync/ha_sync_socket.c
@@ -27,50 +27,6 @@
#include <processing/jobs/callback_job.h>
typedef struct private_ha_sync_socket_t private_ha_sync_socket_t;
-typedef struct ha_backend_t ha_backend_t;
-typedef struct ha_creds_t ha_creds_t;
-
-/**
- * Serves credentials for the HA sync SA
- */
-struct ha_creds_t {
-
- /**
- * Implements credential_set_t
- */
- credential_set_t public;
-
- /**
- * own identity
- */
- identification_t *local;
-
- /**
- * peer identity
- */
- identification_t *remote;
-
- /**
- * Shared key to serve
- */
- shared_key_t *key;
-};
-
-/**
- * Serves configurations for the HA sync SA
- */
-struct ha_backend_t {
-
- /**
- * Implements backend_t
- */
- backend_t public;
-
- /**
- * peer config we serve
- */
- peer_cfg_t *cfg;
-};
/**
* Private data of an ha_sync_socket_t object.