fixing drq code
[oweals/gnunet.git] / src / fs / gnunet-service-fs_drq.h
index 306db9badd87da96dd6b7db71d36df6de298ff63..ec86b99be6ede12d4ad6698f7e25a58f075d1fe3 100644 (file)
@@ -49,13 +49,16 @@ struct DatastoreRequestQueue;
  *        will be called once with a NULL value at the end
  * @param iter_cls closure for iter
  * @param timeout how long to wait at most for a response
+ * @param immediate should this be queued immediately at
+ *        the head of the queue (irrespecitive of the timeout)?
  */
 struct DatastoreRequestQueue *
 GNUNET_FS_drq_get (const GNUNET_HashCode * key,
                   uint32_t type,
                   GNUNET_DATASTORE_Iterator iter, 
                   void *iter_cls,
-                  struct GNUNET_TIME_Relative timeout);
+                  struct GNUNET_TIME_Relative timeout,
+                  int immediate);