summaryrefslogtreecommitdiffstats
path: root/src/nvme/tree.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:50 +0000
commitc662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea (patch)
tree6a0ebdb4cb3c7b76c824f021d9f3624d16037457 /src/nvme/tree.h
parentAdding upstream version 1.8. (diff)
downloadlibnvme-upstream/1.9.tar.xz
libnvme-upstream/1.9.zip
Adding upstream version 1.9.upstream/1.9upstream
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