]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: export symbols required for monitor functionality
authorMartin Wilck <mwilck@suse.com>
Sun, 17 Jan 2021 21:40:10 +0000 (22:40 +0100)
committerMartin Wilck <mwilck@suse.com>
Tue, 30 Mar 2021 15:46:22 +0000 (17:46 +0200)
commit3d0fd6339ce3d67342949a201bde082c52a75b71
treeb6dc8d149a9602fcb3e204ffac445d7e6368b391
parent415b1e1d5a9ec5600909b2e3fabfdcc1c8eb0077
fabrics: export symbols required for monitor functionality

These macros, functions and variables will be used by the "nvme monitor"
functionality. Convert them to globally visible symbols.

Being able to access struct config and the "cfg" variable
from fabrics.c is essential for the monitor to leverage the existing,
well tested code as much as possible. Rename "cfg" to "fabrics_cfg"
to make the global variable name less generic.
fabrics.c
fabrics.h