don't run set with valgrind per default
[oweals/gnunet.git] / src / include / gnunet_datastore_plugin.h
index 8e30e219c2e140077083331ef090a252d213a4c0..2295d4e7216d456b395174c186b41f1e19f389a9 100644 (file)
@@ -161,7 +161,8 @@ typedef void
  * @param cont_cls continuation closure for @a cont
  */
 typedef void
-(*PluginPut) (void *cls, const struct GNUNET_HashCode *key,
+(*PluginPut) (void *cls,
+              const struct GNUNET_HashCode *key,
              uint32_t size,
              const void *data,
              enum GNUNET_BLOCK_Type type,
@@ -267,9 +268,7 @@ typedef void
  * @param cls closure
  * @param uid unique identifier of the datum
  * @param delta by how much should the priority
- *     change?  If priority + delta < 0 the
- *     priority should be set to 0 (never go
- *     negative).
+ *     change?
  * @param expire new expiration time should be the
  *     MAX of any existing expiration time and
  *     this value
@@ -279,7 +278,7 @@ typedef void
 typedef void
 (*PluginUpdate) (void *cls,
                 uint64_t uid,
-                int delta,
+                uint32_t delta,
                 struct GNUNET_TIME_Absolute expire,
                 PluginUpdateCont cont,
                 void *cont_cls);