summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fetch.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 07:05:27 +0100
committerMichael Brown2007-01-12 07:05:27 +0100
commit9817f9309496e7620dd87610c9d0bef8d840ccee (patch)
tree9c16ad3d045252080d8fb6df9927bf9cff975a9e /src/include/usr/fetch.h
parentAdded IMAGE_LOADED flag and find_image() (diff)
downloadipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.tar.gz
ipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.tar.xz
ipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.zip
Add basic "fetch" and "imgstat" commands.
Diffstat (limited to 'src/include/usr/fetch.h')
-rw-r--r--src/include/usr/fetch.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h
new file mode 100644
index 000000000..e7c035be5
--- /dev/null
+++ b/src/include/usr/fetch.h
@@ -0,0 +1,13 @@
+#ifndef _USR_FETCH_H
+#define _USR_FETCH_H
+
+/**
+ * @file
+ *
+ * Fetch file as executable/loadable image
+ *
+ */
+
+extern int fetch ( struct image *image, const char *filename );
+
+#endif /* _USR_FETCH_H */