Removed obsolete socket subclasses
authorMartin Willi <martin@strongswan.org>
Mon, 28 Sep 2009 12:49:16 +0000 (14:49 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 7 Apr 2010 11:55:15 +0000 (13:55 +0200)
src/charon/plugins/ha_sync/ha_sync_kernel.c
src/charon/plugins/ha_sync/ha_sync_socket.c

index 1991820..81b853d 100644 (file)
@@ -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;
index bc010b7..cbbe167 100644 (file)
 #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.