aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_event-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_event-handler.h')
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.h b/src/fs/gnunet-fs-gtk_event-handler.h
index b9f9bbcc..53d9fcf0 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.h
+++ b/src/fs/gnunet-fs-gtk_event-handler.h
@@ -204,6 +204,13 @@ struct SearchResult
204 struct GNUNET_FS_SearchResult *result; 204 struct GNUNET_FS_SearchResult *result;
205 205
206 /** 206 /**
207 * Associated search result we generated for probing;
208 * thus, we need to run "GNUNET_FS_probe_cancel" on it
209 * once we are done. Only used if 'result' is NULL.
210 */
211 struct GNUNET_FS_SearchResult *probe;
212
213 /**
207 * Associated download, or NULL for none. 214 * Associated download, or NULL for none.
208 */ 215 */
209 struct DownloadEntry *download; 216 struct DownloadEntry *download;
@@ -214,12 +221,14 @@ struct SearchResult
214 * Setup a new top-level entry in the URI/orphan tab. If necessary, create 221 * Setup a new top-level entry in the URI/orphan tab. If necessary, create
215 * the URI tab first. 222 * the URI tab first.
216 * 223 *
224 * @param anonymity anonymity level to use for probes
217 * @param meta metadata for the new entry 225 * @param meta metadata for the new entry
218 * @param uri URI for the new entry 226 * @param uri URI for the new entry
219 * @return the search result that was set up 227 * @return the search result that was set up
220 */ 228 */
221struct SearchResult * 229struct SearchResult *
222GNUNET_GTK_add_to_uri_tab (const struct GNUNET_CONTAINER_MetaData *meta, 230GNUNET_GTK_add_to_uri_tab (uint32_t anonymity,
231 const struct GNUNET_CONTAINER_MetaData *meta,
223 const struct GNUNET_FS_Uri *uri); 232 const struct GNUNET_FS_Uri *uri);
224 233
225 234
@@ -227,6 +236,7 @@ GNUNET_GTK_add_to_uri_tab (const struct GNUNET_CONTAINER_MetaData *meta,
227 * Add a search result to the given search tab. 236 * Add a search result to the given search tab.
228 * 237 *
229 * @param tab search tab to extend, never NULL 238 * @param tab search tab to extend, never NULL
239 * @param anonymity anonymity level to use for probes for this result
230 * @param parent_rr reference to parent entry in search tab, NULL for normal 240 * @param parent_rr reference to parent entry in search tab, NULL for normal
231 * search results, 241 * search results,
232 * @param uri uri to add, can be NULL for top-level entry of a directory opened from disk 242 * @param uri uri to add, can be NULL for top-level entry of a directory opened from disk
@@ -241,6 +251,7 @@ GNUNET_GTK_add_to_uri_tab (const struct GNUNET_CONTAINER_MetaData *meta,
241 */ 251 */
242struct SearchResult * 252struct SearchResult *
243GNUNET_GTK_add_search_result (struct SearchTab *tab, 253GNUNET_GTK_add_search_result (struct SearchTab *tab,
254 uint32_t anonymity,
244 GtkTreeRowReference *parent_rr, 255 GtkTreeRowReference *parent_rr,
245 const struct GNUNET_FS_Uri *uri, 256 const struct GNUNET_FS_Uri *uri,
246 const struct GNUNET_CONTAINER_MetaData *meta, 257 const struct GNUNET_CONTAINER_MetaData *meta,