NAME
libnvmf_read_nbft - Read and parse contents of an ACPI NBFT table
SYNOPSIS
int libnvmf_read_nbft (struct libnvme_global_ctx *ctx , struct libnbft_info **nbft , const char *filename );
ARGUMENTS
- ctx
-
struct libnvme_global_ctx object
- nbft
-
Parsed NBFT table data.
- filename
-
Filename of the raw NBFT table to read.
DESCRIPTION
Read and parse the specified NBFT file into a struct libnbft_info. Free with libnvmf_free_nbft.
RETURN
0 on success, negative error code otherwise.