summaryrefslogtreecommitdiff
path: root/content/fetchers.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-06-27 21:00:58 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-06-27 21:00:58 +0100
commita468b409901236ecf77f0cbd81dfeda96cebc758 (patch)
tree9796fda726d37a3a30da44fbcb8690d200b2b079 /content/fetchers.h
parentab6c03f3112ef01e41a8a1e931a6990636edbae4 (diff)
downloadnetsurf-a468b409901236ecf77f0cbd81dfeda96cebc758.tar.gz
netsurf-a468b409901236ecf77f0cbd81dfeda96cebc758.tar.bz2
Refactor the fdset acquisition into the fetchers to stop fetch.c including curl.h
Diffstat (limited to 'content/fetchers.h')
-rw-r--r--content/fetchers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/fetchers.h b/content/fetchers.h
index 92b11dc69..cd09e92e4 100644
--- a/content/fetchers.h
+++ b/content/fetchers.h
@@ -91,6 +91,12 @@ struct fetcher_operation_table {
void (*poll)(lwc_string *scheme);
/**
+ * update an fdset with the FDs needed to poll cleanly
+ */
+ int (*fdset)(lwc_string *scheme, fd_set *read_set, fd_set *write_set,
+ fd_set *error_set);
+
+ /**
* Finalise the fetcher.
*/
void (*finalise)(lwc_string *scheme);