From 06308d9ede98fef049b68e4cb94abd3a6787b090 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 28 Sep 2009 14:49:16 +0200 Subject: [PATCH] Removed obsolete socket subclasses --- src/charon/plugins/ha_sync/ha_sync_kernel.c | 2 - src/charon/plugins/ha_sync/ha_sync_socket.c | 44 --------------------- 2 files changed, 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 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.