diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-05 22:19:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-05 22:19:28 +0000 |
commit | 0b905185cd9d8f45a4c866ef2a413a66530d5a94 (patch) | |
tree | b9d3dbbe07dc8d5f69f8a067ea83a72e26709a92 /src/fs/gnunet-fs-gtk_event-handler.h | |
parent | 5047a37697a5a6e932f65dd3901908b253ead752 (diff) | |
download | gnunet-gtk-0b905185cd9d8f45a4c866ef2a413a66530d5a94.tar.gz gnunet-gtk-0b905185cd9d8f45a4c866ef2a413a66530d5a94.zip |
-cancel manually started probes before stopping FS
Diffstat (limited to 'src/fs/gnunet-fs-gtk_event-handler.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.h b/src/fs/gnunet-fs-gtk_event-handler.h index e0f5d8ed..03a313e3 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.h +++ b/src/fs/gnunet-fs-gtk_event-handler.h | |||
@@ -187,6 +187,19 @@ struct DownloadEntry | |||
187 | */ | 187 | */ |
188 | struct SearchResult | 188 | struct SearchResult |
189 | { | 189 | { |
190 | |||
191 | /** | ||
192 | * If this search result has a manually-activated probe, | ||
193 | * we keep it in the 'pr_head' list. | ||
194 | */ | ||
195 | struct SearchResult *next; | ||
196 | |||
197 | /** | ||
198 | * If this search result has a manually-activated probe, | ||
199 | * we keep it in the 'pr_head' list. | ||
200 | */ | ||
201 | struct SearchResult *prev; | ||
202 | |||
190 | /** | 203 | /** |
191 | * Where in the tab is this result? | 204 | * Where in the tab is this result? |
192 | */ | 205 | */ |
@@ -218,6 +231,18 @@ struct SearchResult | |||
218 | 231 | ||
219 | 232 | ||
220 | /** | 233 | /** |
234 | * Head of search results with a manually-activated probe. | ||
235 | */ | ||
236 | extern struct SearchResult *pl_head; | ||
237 | |||
238 | /** | ||
239 | * Tail of search results with a manually-activated probe. | ||
240 | */ | ||
241 | extern struct SearchResult *pl_tail; | ||
242 | |||
243 | |||
244 | |||
245 | /** | ||
221 | * Setup a new top-level entry in the URI/orphan tab. If necessary, create | 246 | * Setup a new top-level entry in the URI/orphan tab. If necessary, create |
222 | * the URI tab first. | 247 | * the URI tab first. |
223 | * | 248 | * |