[xfer] Add xfer_check_order() utility function

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2015-07-20 17:53:30 +01:00
parent 7194f38131
commit 0dc85aed03
2 changed files with 33 additions and 0 deletions

View File

@@ -103,5 +103,7 @@ extern int xfer_vprintf ( struct interface *intf,
extern int __attribute__ (( format ( printf, 2, 3 ) ))
xfer_printf ( struct interface *intf, const char *format, ... );
extern int xfer_seek ( struct interface *intf, off_t offset );
extern int xfer_check_order ( struct xfer_metadata *meta, size_t *pos,
size_t len );
#endif /* _IPXE_XFER_H */