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

iscsi_iface_dump_config - Dump all configurations of specified iSCSI interface.

const char * iscsi_iface_dump_config (struct iscsi_iface *iface);

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

Dump all configurations of specified iSCSI interface. Will skip empty configuration so that output string could be saved directly to /etc/iscsi/ifaces/<iface_name> file.

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

iscsi_iface_dump_config May 2021