aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-21 10:12:42 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-21 10:12:42 +0000
commitbaed13e684f56a7394ace6b81cb73b5fc108a192 (patch)
treed968a1af82562cc0872eb617ecb7e193d6919a4b /src/include/gnunet_namestore_plugin.h
parent06f1df5d97a16e0bffd67eb362a41fbb7b3eb3f2 (diff)
downloadgnunet-baed13e684f56a7394ace6b81cb73b5fc108a192.tar.gz
gnunet-baed13e684f56a7394ace6b81cb73b5fc108a192.zip
- fixed definition
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r--src/include/gnunet_namestore_plugin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index e93adb22c..ecdc40f09 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -29,6 +29,8 @@
29#ifndef GNUNET_NAMESTORE_PLUGIN_H 29#ifndef GNUNET_NAMESTORE_PLUGIN_H
30#define GNUNET_NAMESTORE_PLUGIN_H 30#define GNUNET_NAMESTORE_PLUGIN_H
31 31
32#include "gnunet_common.h"
33#include "gnunet_util_lib.h"
32#include "gnunet_namestore_service.h" 34#include "gnunet_namestore_service.h"
33 35
34#ifdef __cplusplus 36#ifdef __cplusplus
@@ -79,7 +81,7 @@ typedef void (*GNUNET_NAMESTORE_RecordIterator) (void *cls,
79 * records) 81 * records)
80 */ 82 */
81typedef void (*GNUNET_NAMESTORE_NodeCallback) (void *cls, 83typedef void (*GNUNET_NAMESTORE_NodeCallback) (void *cls,
82 const struct GNUNET_HashCode *zone, 84 const GNUNET_HashCode *zone,
83 const struct GNUNET_NAMESTORE_SignatureLocation *loc, 85 const struct GNUNET_NAMESTORE_SignatureLocation *loc,
84 const struct GNUNET_NAMESTORE_SignatureLocation *ploc, 86 const struct GNUNET_NAMESTORE_SignatureLocation *ploc,
85 unsigned int num_entries, 87 unsigned int num_entries,
@@ -154,7 +156,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
154 * @return GNUNET_OK on success 156 * @return GNUNET_OK on success
155 */ 157 */
156 int (*put_node) (void *cls, 158 int (*put_node) (void *cls,
157 const struct GNUNET_HashCode *zone, 159 const GNUNET_HashCode *zone,
158 const struct GNUNET_NAMESTORE_SignatureLocation *loc, 160 const struct GNUNET_NAMESTORE_SignatureLocation *loc,
159 const struct GNUNET_NAMESTORE_SignatureLocation *ploc, 161 const struct GNUNET_NAMESTORE_SignatureLocation *ploc,
160 unsigned int num_entries, 162 unsigned int num_entries,