summaryrefslogtreecommitdiffstats
path: root/src/core/posix_io.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 15:11:07 +0200
committerMichael Brown2007-07-08 15:11:07 +0200
commitb34d4d044978714abe771ca8d7d07153ad048d82 (patch)
tree017d6c4e37f0bc49df6ae461074a41691e08013f /src/core/posix_io.c
parentKill off unused request() method in data-xfer interface. (diff)
downloadipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.gz
ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.xz
ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.zip
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a boolean.
Diffstat (limited to 'src/core/posix_io.c')
-rw-r--r--src/core/posix_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/posix_io.c b/src/core/posix_io.c
index 03d440a6..21f818bf 100644
--- a/src/core/posix_io.c
+++ b/src/core/posix_io.c
@@ -160,6 +160,7 @@ static struct xfer_interface_operations posix_file_xfer_operations = {
.close = posix_file_xfer_close,
.vredirect = xfer_vopen,
.seek = posix_file_xfer_seek,
+ .window = unlimited_xfer_window,
.alloc_iob = default_xfer_alloc_iob,
.deliver_iob = posix_file_xfer_deliver_iob,
.deliver_raw = xfer_deliver_as_iob,