aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_peerstore_plugin.h
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-05-16 12:54:18 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-05-16 12:54:18 +0000
commitaeaf5c97d7d115d99f30e86be66c622b7a6ebf4f (patch)
tree13e3f037af1fc84188b91e6054153714ad3f631a /src/include/gnunet_peerstore_plugin.h
parent369811cfb47a51f240c7c4872e29c6eccd21fb0c (diff)
downloadgnunet-aeaf5c97d7d115d99f30e86be66c622b7a6ebf4f.tar.gz
gnunet-aeaf5c97d7d115d99f30e86be66c622b7a6ebf4f.zip
towards peerstore iterate
Diffstat (limited to 'src/include/gnunet_peerstore_plugin.h')
-rw-r--r--src/include/gnunet_peerstore_plugin.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/include/gnunet_peerstore_plugin.h b/src/include/gnunet_peerstore_plugin.h
index ce473b508..e9563b508 100644
--- a/src/include/gnunet_peerstore_plugin.h
+++ b/src/include/gnunet_peerstore_plugin.h
@@ -39,22 +39,6 @@ extern "C"
39 39
40 40
41/** 41/**
42 * Function called by for each matching record.
43 *
44 * @param cls closure
45 * @param peer peer identity
46 * @param sub_system name of the GNUnet sub system responsible
47 * @param value stored value
48 * @param size size of stored value
49 */
50typedef void (*GNUNET_PEERSTORE_RecordIterator) (void *cls,
51 const char *sub_system,
52 const struct GNUNET_PeerIdentity *peer,
53 const char *key,
54 const void *value,
55 size_t size);
56
57/**
58 * @brief struct returned by the initialization function of the plugin 42 * @brief struct returned by the initialization function of the plugin
59 */ 43 */
60struct GNUNET_PEERSTORE_PluginFunctions 44struct GNUNET_PEERSTORE_PluginFunctions
@@ -103,7 +87,7 @@ struct GNUNET_PEERSTORE_PluginFunctions
103 const char *sub_system, 87 const char *sub_system,
104 const struct GNUNET_PeerIdentity *peer, 88 const struct GNUNET_PeerIdentity *peer,
105 const char *key, 89 const char *key,
106 GNUNET_PEERSTORE_RecordIterator iter, void *iter_cls); 90 GNUNET_PEERSTORE_Processor iter, void *iter_cls);
107 91
108}; 92};
109 93