fwupd/plugins/linux-swap/fu-linux-swap.h
Richard Hughes d744fe8b67 linux-swap: Rename the plugin as it is Linux specific
We'll be adding other linux-foo plugins in the future, so it makes sense to get
the namespace correct now.
2020-05-07 12:42:34 +01:00

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);