logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

iscsi_node_portal_get - Retrieve connection portal of specified iSCSI node.

Arguments

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

Description

Retrieve the iscsi connection target portal of specified iSCSI node. Just a combination of iscsi_node_conn_address_get and iscsi_node_conn_port_get.

Examples

"192.168.1.1:3260" and "[::1]:3260"

Name

iscsi_node_portal_get - Retrieve connection portal of specified iSCSI node.

Return

const char *. No need to free this memory, the resources will get freed by iscsi_node_free or iscsi_nodes_free. July 2025 iscsi_node_portal_get iscsi_node_portal_get(3)

Synopsis

constchar*iscsi_node_portal_get(structiscsi_node*node);

See Also