iscsi_iface_dump_config - Man Page

Dump all configurations of specified iSCSI interface.

Synopsis

const char * iscsi_iface_dump_config (struct iscsi_iface *iface);

Arguments

iface

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

Description

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.

Return

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

Info

July 2024 API Manual