aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/search.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/search.h')
-rw-r--r--src/plugins/fs/search.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/plugins/fs/search.h b/src/plugins/fs/search.h
index 4afc1496..82d7a8f3 100644
--- a/src/plugins/fs/search.h
+++ b/src/plugins/fs/search.h
@@ -36,10 +36,9 @@
36 * Add the given search result to the search 36 * Add the given search result to the search
37 * tree at the specified position. 37 * tree at the specified position.
38 */ 38 */
39void addEntryToSearchTree(SearchList * searchContext, 39void addEntryToSearchTree (SearchList * searchContext,
40 DownloadList * downloadParent, 40 DownloadList * downloadParent,
41 const ECRS_FileInfo * info, 41 const ECRS_FileInfo * info, GtkTreeIter * iter);
42 GtkTreeIter * iter);
43 42
44/** 43/**
45 * Add the given result to the model (search result 44 * Add the given result to the model (search result
@@ -49,31 +48,30 @@ void addEntryToSearchTree(SearchList * searchContext,
49 * @param path the tree path that selects where to add 48 * @param path the tree path that selects where to add
50 * the information, NULL for top-level 49 * the information, NULL for top-level
51 */ 50 */
52void fs_search_result_received(SearchList * searchContext, 51void fs_search_result_received (SearchList * searchContext,
53 const ECRS_FileInfo * info, 52 const ECRS_FileInfo * info,
54 const struct ECRS_URI * uri); 53 const struct ECRS_URI *uri);
55 54
56/** 55/**
57 * A search has been started. Open tab. 56 * A search has been started. Open tab.
58 * 57 *
59 * @return internal search context 58 * @return internal search context
60 */ 59 */
61SearchList * 60SearchList *fs_search_started (struct FSUI_SearchList *list,
62fs_search_started(struct FSUI_SearchList * list, 61 const struct ECRS_URI *uri,
63 const struct ECRS_URI * uri, 62 unsigned int anonymityLevel,
64 unsigned int anonymityLevel, 63 unsigned int resultCount,
65 unsigned int resultCount, 64 const ECRS_FileInfo * results,
66 const ECRS_FileInfo * results, 65 FSUI_State state);
67 FSUI_State state);
68 66
69/** 67/**
70 * A search process has been aborted. Update display. 68 * A search process has been aborted. Update display.
71 */ 69 */
72void fs_search_aborted(SearchList * searchContext); 70void fs_search_aborted (SearchList * searchContext);
73 71
74/** 72/**
75 * A search process has stopped. Clean up. 73 * A search process has stopped. Clean up.
76 */ 74 */
77void fs_search_stopped(SearchList * searchContext); 75void fs_search_stopped (SearchList * searchContext);
78 76
79#endif 77#endif