Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / fs / fs_api.h
index 86219b3f8a94834a902550c8897cde3cf2a141fc..e85de94a79557e38f039f532453bd9576c4c0660 100644 (file)
@@ -1202,11 +1202,6 @@ struct GNUNET_FS_PublishContext
    */
   struct GNUNET_FS_Handle *h;
 
-  /**
-   * Connection to FS service (only used for LOC URI signing).
-   */
-  struct GNUNET_CLIENT_Connection *fs_client;
-
   /**
    * Our top-level activity entry (if we are top-level, otherwise NULL).
    */
@@ -1242,7 +1237,7 @@ struct GNUNET_FS_PublishContext
    * Our own message queue for the FS service; only briefly used when
    * we start to index a file, otherwise NULL.
    */
-  struct GNUNET_CLIENT_Connection *client;
+  struct GNUNET_MQ_Handle *mq;
 
   /**
    * Current position in the file-tree for the upload.
@@ -1571,7 +1566,7 @@ struct GNUNET_FS_SearchContext
   /**
    * Connection to the FS service.
    */
-  struct GNUNET_CLIENT_Connection *client;
+  struct GNUNET_MQ_Handle *mq;
 
   /**
    * Pointer we keep for the client.
@@ -1620,18 +1615,6 @@ struct GNUNET_FS_SearchContext
    */
   struct GNUNET_SCHEDULER_Task *task;
 
-  /**
-   * How many of the entries in the search request
-   * map have been passed to the service so far?
-   */
-  unsigned int search_request_map_offset;
-
-  /**
-   * How many of the keywords in the KSK
-   * map have been passed to the service so far?
-   */
-  unsigned int keyword_offset;
-
   /**
    * Anonymity level for the search.
    */