mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 01:51:42 +00:00
26 lines
689 B
C
26 lines
689 B
C
/*
|
|
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-common.h"
|
|
|
|
#define UDISKS_DBUS_SERVICE "org.freedesktop.UDisks2"
|
|
#define UDISKS_DBUS_INTERFACE_PARTITION "org.freedesktop.UDisks2.Partition"
|
|
#define UDISKS_DBUS_INTERFACE_FILESYSTEM "org.freedesktop.UDisks2.Filesystem"
|
|
#define UDISKS_DBUS_INTERFACE_BLOCK "org.freedesktop.UDisks2.Block"
|
|
|
|
GPtrArray *
|
|
fu_common_get_block_devices(GError **error);
|
|
gboolean
|
|
fu_common_fnmatch_impl(const gchar *pattern, const gchar *str);
|
|
guint64
|
|
fu_common_get_memory_size_impl(void);
|
|
|
|
/* for self tests */
|
|
const gchar *
|
|
fu_common_convert_to_gpt_type(const gchar *type);
|