summaryrefslogtreecommitdiffstats
path: root/fabrics.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fabrics.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fabrics.h b/fabrics.h
index d1e16fc..02cebf5 100644
--- a/fabrics.h
+++ b/fabrics.h
@@ -2,6 +2,16 @@
#ifndef _FABRICS_H
#define _FABRICS_H
+struct tr_config {
+ const char *subsysnqn;
+ const char *transport;
+ const char *traddr;
+ const char *host_traddr;
+ const char *host_iface;
+ const char *trsvcid;
+};
+
+extern nvme_ctrl_t lookup_ctrl(nvme_root_t r, struct tr_config *trcfg);
extern int nvmf_discover(const char *desc, int argc, char **argv, bool connect);
extern int nvmf_connect(const char *desc, int argc, char **argv);
extern int nvmf_disconnect(const char *desc, int argc, char **argv);