From c662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:06:50 +0200 Subject: Adding upstream version 1.9. Signed-off-by: Daniel Baumann --- doc/man/nvme_scan_tls_keys.2 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/man/nvme_scan_tls_keys.2 (limited to 'doc/man/nvme_scan_tls_keys.2') diff --git a/doc/man/nvme_scan_tls_keys.2 b/doc/man/nvme_scan_tls_keys.2 new file mode 100644 index 0000000..663a359 --- /dev/null +++ b/doc/man/nvme_scan_tls_keys.2 @@ -0,0 +1,24 @@ +.TH "nvme_scan_tls_keys" 9 "nvme_scan_tls_keys" "May 2024" "libnvme API manual" LINUX +.SH NAME +nvme_scan_tls_keys \- Iterate over TLS keys in a keyring +.SH SYNOPSIS +.B "int" nvme_scan_tls_keys +.BI "(const char *keyring " "," +.BI "nvme_scan_tls_keys_cb_t cb " "," +.BI "void *data " ");" +.SH ARGUMENTS +.IP "keyring" 12 +Keyring holding TLS keys +.IP "cb" 12 +Callback function +.IP "data" 12 +Pointer for data to be passed to \fIcb\fP +.SH "DESCRIPTION" +Iterates \fIkeyring\fP and call \fIcb\fP for each TLS key. When \fIkeyring\fP is NULL +the default '.nvme' keyring is used. +A TLS key must be of type 'psk' and the description must be of the +form 'NVMe<0|1>0<1|2> ', otherwise it will be skipped +during iteration. +.SH "RETURN" +Number of keys for which \fIcb\fP was called, or -1 with errno set +on error. -- cgit v1.2.3