dummy ATS implementation
authorChristian Grothoff <christian@grothoff.org>
Thu, 11 Aug 2011 13:08:57 +0000 (13:08 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 11 Aug 2011 13:08:57 +0000 (13:08 +0000)
src/transport/gnunet-service-transport-new.c

index 654acbfda225f0ada6317c75f313dcee0c0ad1a8..968145b1e90d7f240c562817a3e3f5a8c017859e 100644 (file)
@@ -29,7 +29,7 @@
 #include "gnunet_transport_service.h"
 #include "gnunet_peerinfo_service.h"
 #include "gnunet-service-transport.h"
-#include "gnunet-service-transport_ats.h"
+#include "gnunet-service-transport_ats-new.h"
 #include "gnunet-service-transport_blacklist.h"
 #include "gnunet-service-transport_clients.h"
 #include "gnunet-service-transport_hello.h"
@@ -133,7 +133,7 @@ shutdown_task (void *cls,
 {  
   GST_validation_stop ();
   GST_neighbours_stop ();
-  GST_ats_stop (GST_ats); GST_ats = NULL;
+  GST_ats_shutdown (GST_ats); GST_ats = NULL;
   GST_clients_stop ();
   GST_blacklist_stop ();
   GST_plugins_unload ();
@@ -221,7 +221,7 @@ run (void *cls,
                    NULL, // FIXME...
                    NULL, // FIXME...
                    NULL); // FIXME...
-  GST_ats = GST_ats_init (cfg,
+  GST_ats = GST_ats_init (GST_cfg,
                          NULL, // FIXME...
                          NULL); // FIXME...
   GST_neighbours_start (NULL, // FIXME...