NAME
libnvmf_config_validate - dry-run a connection configuration.
SYNOPSIS
int libnvmf_config_validate (struct libnvme_global_ctx *ctx , const char *file );
ARGUMENTS
- ctx
-
libnvme global context
- file
-
main configuration file, or NULL for the default.
DESCRIPTION
Reads and resolves like libnvmf_config_read, reporting every diagnostic through ctx, without handing back a configuration.
RETURN
0 when the configuration is valid (including absent), negative errno otherwise.