[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13219 - gnunet/src/block
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13219 - gnunet/src/block |
Date: |
Fri, 8 Oct 2010 11:03:38 +0200 |
Author: toelke
Date: 2010-10-08 11:03:37 +0200 (Fri, 08 Oct 2010)
New Revision: 13219
Modified:
gnunet/src/block/plugin_block_dns.c
Log:
The plugin was named incorrectly
Modified: gnunet/src/block/plugin_block_dns.c
===================================================================
--- gnunet/src/block/plugin_block_dns.c 2010-10-08 09:03:37 UTC (rev 13218)
+++ gnunet/src/block/plugin_block_dns.c 2010-10-08 09:03:37 UTC (rev 13219)
@@ -46,7 +46,7 @@
* @return characterization of result
*/
static enum GNUNET_BLOCK_EvaluationResult
-block_plugin_dht_evaluate (void *cls,
+block_plugin_dns_evaluate (void *cls,
enum GNUNET_BLOCK_Type type,
const GNUNET_HashCode *query,
struct GNUNET_CONTAINER_BloomFilter **bf,
@@ -92,7 +92,7 @@
* (or if extracting a key from a block of this type does not work)
*/
static int
-block_plugin_dht_get_key (void *cls,
+block_plugin_dns_get_key (void *cls,
enum GNUNET_BLOCK_Type type,
const void *block,
size_t block_size,
@@ -109,7 +109,7 @@
* Entry point for the plugin.
*/
void *
-libgnunet_plugin_block_dht_init (void *cls)
+libgnunet_plugin_block_dns_init (void *cls)
{
static enum GNUNET_BLOCK_Type types[] =
{
@@ -119,8 +119,8 @@
struct GNUNET_BLOCK_PluginFunctions *api;
api = GNUNET_malloc (sizeof (struct GNUNET_BLOCK_PluginFunctions));
- api->evaluate = &block_plugin_dht_evaluate;
- api->get_key = &block_plugin_dht_get_key;
+ api->evaluate = &block_plugin_dns_evaluate;
+ api->get_key = &block_plugin_dns_get_key;
api->types = types;
return api;
}
@@ -130,7 +130,7 @@
* Exit point from the plugin.
*/
void *
-libgnunet_plugin_block_dht_done (void *cls)
+libgnunet_plugin_block_dns_done (void *cls)
{
struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13219 - gnunet/src/block,
gnunet <=