.TH "iscsi_session_persistent_address_get" 3 "iscsi_session_persistent_address_get" "October 2022" "API Manual" LINUX
.SH NAME
iscsi_session_persistent_address_get \- Retrieve iSCSI target persistent address of specified session
.SH SYNOPSIS
.B "const char *" iscsi_session_persistent_address_get
.BI "(struct iscsi_session *" se ");"
.SH ARGUMENTS
.IP "se" 12
Pointer of 'struct iscsi_session'.
If this pointer is NULL, your program will be terminated by assert.
.SH "DESCRIPTION"

Retrieve the iSCSI target persistent address of specified iSCSI session.
The 'persistent address' is the network address where iSCSI initiator send
initial request. When iSCSI redirection in use, this address might not be
the network address used for actual iSCSI transaction.
Please use `\fBiscsi_session_address_get\fP` for target network address of
iSCSI transaction.
.SH "RETURN"
const char *. Empty string if not supported.
No need to free this memory, the resources will get freed by
\fBiscsi_session_free\fP or \fBiscsi_sessions_free\fP.