From 52384a51f64fdfdb380cb84c705e9f06e9e3ea40 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 4 Apr 2011 08:22:39 +0000 Subject: make compile --- src/include/gnunet_datastore_plugin.h | 3 +-- src/include/gnunet_datastore_service.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h index 34a659163..a3f8b5f3b 100644 --- a/src/include/gnunet_datastore_plugin.h +++ b/src/include/gnunet_datastore_plugin.h @@ -149,8 +149,7 @@ typedef unsigned long long (*PluginGetSize) (void *cls); * @param replication replication-level for the content * @param expiration expiration time for the content * @param msg set to an error message (on failure) - * @return GNUNET_OK on success, GNUNET_NO if the content - * was already present (and may have been updated); + * @return GNUNET_OK on success, * GNUNET_SYSERR on failure */ typedef int (*PluginPut) (void *cls, diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h index 284d544f5..756d2f3be 100644 --- a/src/include/gnunet_datastore_service.h +++ b/src/include/gnunet_datastore_service.h @@ -80,8 +80,8 @@ void GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h, * operation. * * @param cls closure - * @param success GNUNET_SYSERR on failure, - * GNUNET_NO on timeout/queue drop + * @param success GNUNET_SYSERR on failure (including timeout/queue drop) + * GNUNET_NO if content was already there * GNUNET_YES (or other positive value) on success * @param msg NULL on success, otherwise an error message */ -- cgit v1.2.3