* @return GNUNET_OK on success
*/
int (*remove_records) (void *cls,
- const GNUNET_HashCode *zone,
+ const struct GNUNET_CRYPTO_ShortHashCode *zone,
const char *name);
* @param iter function to call with the result
* @param iter_cls closure for iter
* @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error
+ * 'iter' will have been called unless the return value is 'GNUNET_SYSERR'
*/
int (*iterate_records) (void *cls,
- const GNUNET_HashCode *zone,
+ const struct GNUNET_CRYPTO_ShortHashCode *zone,
const char *name,
uint64_t offset,
GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
* @param iter function to call with the result
* @param iter_cls closure for iter
* @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error
+ * 'iter' will have been called unless the return value is 'GNUNET_SYSERR'
*/
int (*zone_to_name) (void *cls,
- const GNUNET_HashCode *zone,
- const GNUNET_HashCode *value_zone,
+ const struct GNUNET_CRYPTO_ShortHashCode *zone,
+ const struct GNUNET_CRYPTO_ShortHashCode *value_zone,
GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
* @param zone zone to delete
*/
void (*delete_zone) (void *cls,
- const GNUNET_HashCode *zone);
+ const struct GNUNET_CRYPTO_ShortHashCode *zone);
};