return NULL;
}
+/**
+ * Exit point from the plugin.
+ */
+void *
+libgnunet_plugin_transport_http_done (void *cls)
+{
+ struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
+ struct Plugin *plugin = api->cls;
+ GNUNET_free (plugin);
+ GNUNET_free (api);
+ return NULL;
+}
/**
struct GNUNET_TRANSPORT_PluginEnvironment *env = cls;
struct GNUNET_TRANSPORT_PluginFunctions *api;
struct Plugin *plugin;
+ long long unsigned int port;
plugin = GNUNET_malloc (sizeof (struct Plugin));
plugin->env = env;
return api;
}
-
-/**
- * Exit point from the plugin.
- */
-void *
-libgnunet_plugin_transport_http_done (void *cls)
-{
- struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
- struct Plugin *plugin = api->cls;
-
- GNUNET_free (plugin);
- GNUNET_free (api);
- return NULL;
-}
-
/* end of plugin_transport_template.c */
{
stat_get_handle = NULL;
}
+#endif
/**
* Task that checks if we should try to download a hostlist.
ti_check_stat = GNUNET_SCHEDULER_add_delayed (sched, STAT_INTERVALL, &task_check_stat, NULL);
return;
}
-#endif
/**
* Runs the test.