fwupd-version: fwupd Reference Manual

## fwupd-version fwupd-version |

## Functions

#define | FWUPD_CHECK_VERSION()
const gchar * | fwupd_version_string ()

## Types and Values

#define | FWUPD_MINOR_VERSION
#define | FWUPD_MICRO_VERSION

## 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_MINOR_VERSION

    #define FWUPD_MINOR_VERSION				(6)

The compile-time minor version

### FWUPD_MICRO_VERSION

    #define FWUPD_MICRO_VERSION				(1)

The compile-time micro version