summaryrefslogtreecommitdiffstats
path: root/src/nvme/tree.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:51 +0000
commit86fcc93b6dde545a549437629292af70f0af0e9d (patch)
tree10be690f14e138dd6a5e07326e354ced15f52835 /src/nvme/tree.h
parentReleasing progress-linux version 1.8-3~progress7.99u1. (diff)
downloadlibnvme-86fcc93b6dde545a549437629292af70f0af0e9d.tar.xz
libnvme-86fcc93b6dde545a549437629292af70f0af0e9d.zip
Merging upstream version 1.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/nvme/tree.h')
-rw-r--r--src/nvme/tree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvme/tree.h b/src/nvme/tree.h
index a30e8eb..5e82579 100644
--- a/src/nvme/tree.h
+++ b/src/nvme/tree.h
@@ -1026,6 +1026,14 @@ const char *nvme_ctrl_get_host_iface(nvme_ctrl_t c);
const char *nvme_ctrl_get_dhchap_host_key(nvme_ctrl_t c);
/**
+ * nvme_ctrl_get_cntlid() - Controller id
+ * @c: Controller to be checked
+ *
+ * Return : Controller id of @c
+ */
+const char *nvme_ctrl_get_cntlid(nvme_ctrl_t c);
+
+/**
* nvme_ctrl_set_dhchap_host_key() - Set host key
* @c: Host for which the key should be set
* @key: DH-HMAC-CHAP Key to set or NULL to clear existing key