SCSI add support for POSIX compatible iovectos

This patch defines an scsi_iovec struct which is guaranteed
to be POSIX compatible. It furthermore adds support for
in+out iovectors for bi-directional operations
Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2012-11-23 15:43:00 +01:00
parent 55f76cfb0c
commit e7cc6dc1ca
6 changed files with 74 additions and 49 deletions

View File

@@ -32,7 +32,6 @@
#include "iscsi.h"
#include "iscsi-private.h"
#include "slist.h"
#include "scsi-lowlevel.h"
inline void* iscsi_malloc(struct iscsi_context *iscsi, size_t size) {