zfs-fuse/src/lib/libzfs/libzfs_config.c
/*
 * Retrieve the configuration for the given pool.  The configuration is a nvlist
 * describing the vdevs, as well as the statistics associated with each one.
 */
Retrieve the configuration for the given pool.  The configuration is a nvlist
describing the vdevs, as well as the statistics associated with each one.
Retrieve the configuration for the given pool . The configuration is a nvlist describing the vdevs as well as the statistics associated with each one .
nvlist_t *
zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig)
{
	if (oldconfig)
		*oldconfig = zhp->zpool_old_config;
	return (zhp->zpool_config);
}
nvlist_t * zpool_get_config ( zpool_handle_t * zhp , nvlist_t * * oldconfig ) { if ( oldconfig ) * oldconfig = zhp -> zpool_old_config ; return ( zhp -> zpool_config ) ; }
Retrieve the configuration for the given pool.
Retrieve the configuration for the given pool .