mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-02 07:31:42 +00:00
29 lines
564 B
C
29 lines
564 B
C
/*
|
|
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include "fu-version.h"
|
|
|
|
/**
|
|
* fu_version_string:
|
|
*
|
|
* Gets the libfwupdplugin 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
|
|
**/
|
|
const gchar *
|
|
fu_version_string(void)
|
|
{
|
|
return G_STRINGIFY(FU_MAJOR_VERSION) "." G_STRINGIFY(FU_MINOR_VERSION) "." G_STRINGIFY(
|
|
FU_MICRO_VERSION);
|
|
}
|