gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5534 - GNUnet/src/applications/datastore


From: gnunet
Subject: [GNUnet-SVN] r5534 - GNUnet/src/applications/datastore
Date: Fri, 24 Aug 2007 03:10:32 -0600 (MDT)

Author: grothoff
Date: 2007-08-24 03:10:32 -0600 (Fri, 24 Aug 2007)
New Revision: 5534

Modified:
   GNUnet/src/applications/datastore/prefetch.c
   GNUnet/src/applications/datastore/prefetch.h
Log:
API cleanup

Modified: GNUnet/src/applications/datastore/prefetch.c
===================================================================
--- GNUnet/src/applications/datastore/prefetch.c        2007-08-24 09:10:25 UTC 
(rev 5533)
+++ GNUnet/src/applications/datastore/prefetch.c        2007-08-24 09:10:32 UTC 
(rev 5534)
@@ -113,9 +113,7 @@
  * @return SYSERR if the RCB is empty
  */
 int
-getRandom (const HashCode512 * receiver,
-           unsigned int sizeLimit,
-           HashCode512 * key, Datastore_Value ** value, unsigned int type)
+getRandom (HashCode512 * key, Datastore_Value ** value)
 {
   MUTEX_LOCK (lock);
   if (rvalue == NULL)

Modified: GNUnet/src/applications/datastore/prefetch.h
===================================================================
--- GNUnet/src/applications/datastore/prefetch.h        2007-08-24 09:10:25 UTC 
(rev 5533)
+++ GNUnet/src/applications/datastore/prefetch.h        2007-08-24 09:10:32 UTC 
(rev 5534)
@@ -42,17 +42,13 @@
  * Get a random value from the datastore that has
  * a key close to the given approx value.
  *
- * @param approx maybe NULL (if any random entry
- *   will do)
  * @param value set to an approximate match
  * @param type if a particular type is desired, 0
  *        for any type.
  * @return OK if a value was found, SYSERR if not
  */
-int getRandom (const HashCode512 * receiver,
-               unsigned int sizeLimit,
-               HashCode512 * key,
-               Datastore_Value ** value, unsigned int type);
+int getRandom (HashCode512 * key,
+               Datastore_Value ** value);
 
 
 /* end of prefetch.h */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]