From 3561dbbd613bb22f2385414e4c87fed4f9bf3afe Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 27 Feb 2011 10:32:23 +1100 Subject: [PATCH] Document the async _task() functions --- include/iscsi.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/iscsi.h b/include/iscsi.h index fef3014..545766d 100644 --- a/include/iscsi.h +++ b/include/iscsi.h @@ -557,7 +557,12 @@ int iscsi_modesense6_async(struct iscsi_context *iscsi, int lun, int dbd, unsigned char alloc_len, iscsi_command_cb cb, void *private_data); - +/* + * Async commands for SCSI + * + * These async functions return a scsi_task structure, or NULL if the command failed. + * This structure can be used by task management functions to abort the task or a whole task set. + */ struct scsi_task * iscsi_reportluns_task(struct iscsi_context *iscsi, int report_type, int alloc_len, iscsi_command_cb cb,