DOKK / manpages / debian 12 / libopeniscsiusr-dev / iscsi_node_print_config.3.en
iscsi_node_print_config(3) API Manual iscsi_node_print_config(3)

iscsi_node_print_config - Print all configurations of specified iSCSI node to STDOUT.

void iscsi_node_print_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 "********"

Print all configurations of specified iSCSI node. For empty configuration, it will be shown as "name = <empty>".

void

iscsi_node_print_config October 2022