iscsi_session_get
Retrieve specified iSCSI sessions.
- Provided by: libopeniscsiusr-dev (Version: 2.1.5-1ubuntu1.1)
- Source: open-iscsi
- Report a bug
Retrieve specified iSCSI sessions.
int iscsi_session_get (struct iscsi_context *ctx, uint32_t sid, struct iscsi_session **se);
Retrieves specified iSCSI sessions. For the properties of
int. Valid error codes are:
* LIBISCSI_OK
* LIBISCSI_ERR_BUG
* LIBISCSI_ERR_NOMEM
* LIBISCSI_ERR_ACCESS
* LIBISCSI_ERR_SYSFS_LOOKUP
* LIBISCSI_ERR_SESS_NOT_FOUND
Error number could be converted to string by iscsi_strerror.