logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_scan_tls_keys - Iterate over TLS keys in a keyring

Arguments

keyring Keyring holding TLS keys cb Callback function data Pointer for data to be passed to cb

Description

Iterates keyring and call cb for each TLS key. When keyring 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><R|G>0<1|2> <identity>', otherwise it will be skipped during iteration.

Name

nvme_scan_tls_keys - Iterate over TLS keys in a keyring

Return

Number of keys for which cb was called, or -1 with errno set on error. May 2025 nvme_scan_tls_keys nvme_scan_tls_keys(2)

Synopsis

intnvme_scan_tls_keys(constchar*keyring,nvme_scan_tls_keys_cb_tcb,void*data);

See Also