aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2010-10-08 09:03:37 +0000
committerPhilipp Tölke <toelke@in.tum.de>2010-10-08 09:03:37 +0000
commit0abacda3aa7a008b9a7f1fcdc2737a6fb8f788f2 (patch)
treeb32e76139d339fddaef55552e174e81ea0a6d65e /src/block
parent3b705c3009d4ae1c185889292088d52b68283370 (diff)
downloadgnunet-0abacda3aa7a008b9a7f1fcdc2737a6fb8f788f2.tar.gz
gnunet-0abacda3aa7a008b9a7f1fcdc2737a6fb8f788f2.zip
The plugin was named incorrectly
Diffstat (limited to 'src/block')
-rw-r--r--src/block/plugin_block_dns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/block/plugin_block_dns.c b/src/block/plugin_block_dns.c
index 6fbb9b6f2..e0e970e08 100644
--- a/src/block/plugin_block_dns.c
+++ b/src/block/plugin_block_dns.c
@@ -46,7 +46,7 @@
46 * @return characterization of result 46 * @return characterization of result
47 */ 47 */
48static enum GNUNET_BLOCK_EvaluationResult 48static enum GNUNET_BLOCK_EvaluationResult
49block_plugin_dht_evaluate (void *cls, 49block_plugin_dns_evaluate (void *cls,
50 enum GNUNET_BLOCK_Type type, 50 enum GNUNET_BLOCK_Type type,
51 const GNUNET_HashCode *query, 51 const GNUNET_HashCode *query,
52 struct GNUNET_CONTAINER_BloomFilter **bf, 52 struct GNUNET_CONTAINER_BloomFilter **bf,
@@ -92,7 +92,7 @@ block_plugin_dht_evaluate (void *cls,
92 * (or if extracting a key from a block of this type does not work) 92 * (or if extracting a key from a block of this type does not work)
93 */ 93 */
94static int 94static int
95block_plugin_dht_get_key (void *cls, 95block_plugin_dns_get_key (void *cls,
96 enum GNUNET_BLOCK_Type type, 96 enum GNUNET_BLOCK_Type type,
97 const void *block, 97 const void *block,
98 size_t block_size, 98 size_t block_size,
@@ -109,7 +109,7 @@ block_plugin_dht_get_key (void *cls,
109 * Entry point for the plugin. 109 * Entry point for the plugin.
110 */ 110 */
111void * 111void *
112libgnunet_plugin_block_dht_init (void *cls) 112libgnunet_plugin_block_dns_init (void *cls)
113{ 113{
114 static enum GNUNET_BLOCK_Type types[] = 114 static enum GNUNET_BLOCK_Type types[] =
115 { 115 {
@@ -119,8 +119,8 @@ libgnunet_plugin_block_dht_init (void *cls)
119 struct GNUNET_BLOCK_PluginFunctions *api; 119 struct GNUNET_BLOCK_PluginFunctions *api;
120 120
121 api = GNUNET_malloc (sizeof (struct GNUNET_BLOCK_PluginFunctions)); 121 api = GNUNET_malloc (sizeof (struct GNUNET_BLOCK_PluginFunctions));
122 api->evaluate = &block_plugin_dht_evaluate; 122 api->evaluate = &block_plugin_dns_evaluate;
123 api->get_key = &block_plugin_dht_get_key; 123 api->get_key = &block_plugin_dns_get_key;
124 api->types = types; 124 api->types = types;
125 return api; 125 return api;
126} 126}
@@ -130,7 +130,7 @@ libgnunet_plugin_block_dht_init (void *cls)
130 * Exit point from the plugin. 130 * Exit point from the plugin.
131 */ 131 */
132void * 132void *
133libgnunet_plugin_block_dht_done (void *cls) 133libgnunet_plugin_block_dns_done (void *cls)
134{ 134{
135 struct GNUNET_TRANSPORT_PluginFunctions *api = cls; 135 struct GNUNET_TRANSPORT_PluginFunctions *api = cls;
136 136