aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-10-29 14:51:17 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-10-29 14:51:17 +0000
commitf574045897bfcc2152f7d542f7ac6fc314dfeaef (patch)
tree3bb924ca991af45c213e2dc7bf31222809f0fdc1 /src/include/gnunet_namestore_plugin.h
parent3b27b1f3e34b4634359b83e7e3bb4e47340d05cf (diff)
downloadgnunet-f574045897bfcc2152f7d542f7ac6fc314dfeaef.tar.gz
gnunet-f574045897bfcc2152f7d542f7ac6fc314dfeaef.zip
fixed
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r--src/include/gnunet_namestore_plugin.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index 5c3298d98..182ffbc6e 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -82,6 +82,22 @@ struct GNUNET_NAMESTORE_PluginFunctions
82 unsigned int rd_count, 82 unsigned int rd_count,
83 const struct GNUNET_GNSRECORD_Data *rd); 83 const struct GNUNET_GNSRECORD_Data *rd);
84 84
85 /**
86 * Lookup records in the datastore for which we are the authority.
87 *
88 * @param cls closure (internal context for the plugin)
89 * @param zone private key of the zone
90 * @param label name of the record in the zone
91 * @param iter function to call with the result
92 * @param iter_cls closure for @a iter
93 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
94 */
95 int (*lookup_records) (void *cls,
96 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
97 const char *label,
98 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
99
100
85 101
86 /** 102 /**
87 * Iterate over the results for a particular zone in the 103 * Iterate over the results for a particular zone in the