libxnvme_libconf.h#

Structs#

xnvme_libconf#

struct xnvme_libconf#

SPDX-FileCopyrightText: Samsung Electronics Co., Ltd.

SPDX-License-Identifier: BSD-3-Clause A collection of strings describing the build-options and linkage of the xNVMe library

Public Members

const char **entries#

Functions#

xnvme_libconf_fpr#

int xnvme_libconf_fpr(FILE *stream, const struct xnvme_libconf *libconf, enum xnvme_pr opts)#

Prints the given array of version-strings to the given output stream.

Parameters:
  • stream – Output stream used for printing

  • libconf – Pointer to the xnvme_libconf to print

  • opts – Printer options, see xnvme_pr

Returns:

On success, the number of characters printed is returned.

xnvme_libconf_get#

const struct xnvme_libconf *xnvme_libconf_get(void)#

Returns a xnvme_libconf.

Returns:

Pointer to a xnvme_libconf

xnvme_libconf_pr#

int xnvme_libconf_pr(const struct xnvme_libconf *libconf, enum xnvme_pr opts)#

Prints the given array of version-strings to stdout.

Parameters:
Returns:

On success, the number of characters printed is returned.