DOKK / manpages / debian 11 / libopeniscsiusr-dev / iscsi_node_dump_config.3.en
iscsi_node_dump_config(3) iSCSI Userspace API - libopeniscsiusr Manual iscsi_node_dump_config(3)

iscsi_node_dump_config - Dump all configurations of specified iSCSI node.

const char * iscsi_node_dump_config (struct iscsi_node *node, bool show_secret);

Pointer of 'struct iscsi_node'. If this pointer is NULL, your program will be terminated by assert.
Whether show CHAP secret. If set as false, will show password as "********"

Dump all configurations of specified iSCSI node. Will skip empty configuration.

const char *. Need to free this memory by free.

iscsi_node_dump_config May 2021