-fixing #2578
[oweals/gnunet.git] / src / fs / fs_api.h
index 9325c602386e5b21666901c6e0348531d914071b..d4b7aa202153d4da4e01d3cd5842bf1254107b45 100644 (file)
@@ -1535,6 +1535,11 @@ struct GNUNET_FS_SearchContext
    */
   struct GNUNET_TIME_Absolute start_time;
 
+  /**
+   * How long to wait before we try to reconnect to FS service?
+   */
+  struct GNUNET_TIME_Relative reconnect_backoff;
+
   /**
    * ID of a task that is using this struct and that must be cancelled
    * when the search is being stopped (if not
@@ -1899,6 +1904,11 @@ struct GNUNET_FS_DownloadContext
    */
   struct GNUNET_TIME_Absolute start_time;
 
+  /**
+   * How long to wait before we try to reconnect to FS service?
+   */
+  struct GNUNET_TIME_Relative reconnect_backoff;
+
   /**
    * Desired level of anonymity.
    */