mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-05 05:50:34 +00:00

The libxmlb library is much faster to query, and does not require the daemon to parse the XML metadata at startup. It's a zero-copy mmap design that is more modern and less clunky. RSS has reduced from 3Mb (peak 3.61Mb) to 1Mb (peak 1.07Mb) and the startup time has gone from 280ms to 250ms.
22 lines
499 B
C
22 lines
499 B
C
/*
|
|
* Copyright (C) 2017-2018 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#ifndef __FU_KEYRING_UTILS_H__
|
|
#define __FU_KEYRING_UTILS_H__
|
|
|
|
#include <xmlb.h>
|
|
|
|
#include "fu-keyring.h"
|
|
#include "fwupd-enums.h"
|
|
|
|
FuKeyring *fu_keyring_create_for_kind (FwupdKeyringKind kind,
|
|
GError **error);
|
|
gboolean fu_keyring_get_release_trust_flags (XbNode *release,
|
|
FwupdTrustFlags *trust_flags,
|
|
GError **error);
|
|
|
|
#endif /* __FU_KEYRING_UTILS_H__ */
|