iscsi_session_address_get - Man Page

Retrieve iSCSI target address of specified session

Synopsis

const char * iscsi_session_address_get (struct iscsi_session *se);

Arguments

se

Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.

Description

Retrieve the iSCSI target network address of specified iSCSI session.

Return

const char *. Empty string if not supported. No need to free this memory, the resources will get freed by iscsi_session_free or iscsi_sessions_free.

Info

July 2024 API Manual