fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 15 Jan 2010 12:21:02 +0000 (12:21 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 15 Jan 2010 12:21:02 +0000 (12:21 +0000)
src/transport/test_plugin_transport.c

index 2cca79cb064d761e6ab21c2f346500b2e25b06d0..283312bfe8f0532a1a9d2033fd650178cf463423 100644 (file)
@@ -93,7 +93,7 @@ static int ok;
  * Initialize Environment for this plugin
  */
 struct ReadyList * 
-receive(void *cls,void *plugin_context,
+receive(void *cls,
        struct ReadyList *
        service_context,
        struct GNUNET_TIME_Relative
@@ -116,17 +116,6 @@ void notify_address(void *cls,
 {
 }
 
-void lookup (void *cls,
-            struct GNUNET_TIME_Relative
-            timeout,
-            const struct
-            GNUNET_PeerIdentity * target,
-            GNUNET_TRANSPORT_AddressCallback
-            iter, void *iter_cls)
-{      
-}
-
-
 /**
  * Function called when the service shuts
  * down.  Unloads our plugins.
@@ -243,7 +232,6 @@ static void setup_plugin_environment()
   env.my_identity = &my_identity;
   env.cls=&env;
   env.receive=&receive;
-  env.lookup=&lookup;
   env.notify_address=&notify_address;
   env.notify_validation = &validation_notification;
   env.max_connections = max_connect_per_transport;