mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-10 10:40:30 +00:00

We'll be adding other linux-foo plugins in the future, so it makes sense to get the namespace correct now.
19 lines
489 B
C
19 lines
489 B
C
/*
|
|
* Copyright (C) 2020 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <gio/gio.h>
|
|
|
|
#define FU_TYPE_LINUX_SWAP (fu_linux_swap_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuLinuxSwap, fu_linux_swap, FU, LINUX_SWAP, GObject)
|
|
|
|
FuLinuxSwap *fu_linux_swap_new (const gchar *buf,
|
|
gsize bufsz,
|
|
GError **error);
|
|
gboolean fu_linux_swap_get_enabled (FuLinuxSwap *self);
|
|
gboolean fu_linux_swap_get_encrypted (FuLinuxSwap *self);
|