summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-05-01 02:09:19 +0200
committerMichael Brown2007-05-01 02:09:19 +0200
commit53da1f14023d435a952484ed02a44a965d1f5ac2 (patch)
tree72323eb01f23c674c81aa1a1ac7db28ae80c195e /src/include
parentAdd start() event (diff)
downloadipxe-53da1f14023d435a952484ed02a44a965d1f5ac2.tar.gz
ipxe-53da1f14023d435a952484ed02a44a965d1f5ac2.tar.xz
ipxe-53da1f14023d435a952484ed02a44a965d1f5ac2.zip
Initial sketch for a downloader object
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/downloader.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gpxe/downloader.h b/src/include/gpxe/downloader.h
new file mode 100644
index 000000000..956bbce0a
--- /dev/null
+++ b/src/include/gpxe/downloader.h
@@ -0,0 +1,17 @@
+#ifndef _GPXE_DOWNLOADER_H
+#define _GPXE_DOWNLOADER_H
+
+/** @file
+ *
+ * Image downloader
+ *
+ */
+
+struct job_interface;
+struct image;
+
+extern int create_downloader ( struct job_interface *job,
+ const char *uri_string, struct image *image,
+ int ( * register_image ) ( struct image * ) );
+
+#endif /* _GPXE_DOWNLOADER_H */