fwupd-version

fwupd-version

Functions

#define FWUPD_CHECK_VERSION()
const gchar * fwupd_version_string ()

Types and Values

Description

Functions

FWUPD_CHECK_VERSION()

#define             FWUPD_CHECK_VERSION(major, minor, micro)

Check whether a fwupd version equal to or greater than major.minor.micro.

These compile time macros allow the user to enable parts of client code depending on the version of libfwupd installed.

Parameters

major

Major version number

 

minor

Minor version number

 

micro

Micro version number

 

fwupd_version_string ()

const gchar *
fwupd_version_string (void);

Gets the libfwupd installed runtime version.

This may be different to the *build-time* version if the daemon and library objects somehow get out of sync.

Returns

version string

Since: 1.6.1

Types and Values

FWUPD_MAJOR_VERSION

#define FWUPD_MAJOR_VERSION 1

The compile-time major version


FWUPD_MINOR_VERSION

#define FWUPD_MINOR_VERSION 7

The compile-time minor version


FWUPD_MICRO_VERSION

#define FWUPD_MICRO_VERSION 8

The compile-time micro version