NAME
libnvmf_exclusion_entry_valid - validate an entry string.
SYNOPSIS
bool libnvmf_exclusion_entry_valid (struct libnvme_global_ctx *ctx , const char *entry );
ARGUMENTS
- ctx
-
libnvme global context; must not be NULL
- entry
-
Exclusion entry, e.g. "transport=tcp;traddr=1.2.3.4".
DESCRIPTION
Returns true when every key is known and the entry has at least one recognized field; false for unknown/bare keys or an empty/field-less entry. Use this to pre-validate a hand-edited entry before writing it.
RETURN
true if the entry is valid, false otherwise.