diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-02-16 16:04:35 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-24 12:41:08 -0500 |
commit | 00f3708e6ed1698d6aee3901ea991197e31a8007 (patch) | |
tree | 6ae295fe4c03de52525f32c4bf8a732e19aa1c82 /include/scsi/libiscsi.h | |
parent | bbc5261b2cb5e69754c935ea2466fb22775f0e48 (diff) |
[SCSI] libiscsi: add helper to convert addr to string
This adds a helper to convert a addr struct to
a string. This will be used by the drivers in
the next patches.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r-- | include/scsi/libiscsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 748382b32b52..4bef19fb3a65 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -394,6 +394,8 @@ extern void iscsi_session_failure(struct iscsi_session *session, | |||
394 | enum iscsi_err err); | 394 | enum iscsi_err err); |
395 | extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn, | 395 | extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn, |
396 | enum iscsi_param param, char *buf); | 396 | enum iscsi_param param, char *buf); |
397 | extern int iscsi_conn_get_addr_param(struct sockaddr_storage *addr, | ||
398 | enum iscsi_param param, char *buf); | ||
397 | extern void iscsi_suspend_tx(struct iscsi_conn *conn); | 399 | extern void iscsi_suspend_tx(struct iscsi_conn *conn); |
398 | extern void iscsi_suspend_queue(struct iscsi_conn *conn); | 400 | extern void iscsi_suspend_queue(struct iscsi_conn *conn); |
399 | extern void iscsi_conn_queue_work(struct iscsi_conn *conn); | 401 | extern void iscsi_conn_queue_work(struct iscsi_conn *conn); |