fwupd/plugins/uefi-capsule/fu-ucs2.h
Richard Hughes ee2e2c3674 uefi: Rename to uefi-capsule
Rename the plugin to make it clearer of the scope.

Based on a patch from Mario Limonciello <mario.limonciello@dell.com>
2021-01-05 15:31:22 +00:00

18 lines
401 B
C

/*
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2015 Peter Jones <pjones@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <glib.h>
gsize fu_ucs2_strlen (const guint16 *str,
gssize limit);
guint16 *fu_uft8_to_ucs2 (const gchar *str,
gssize max);
gchar *fu_ucs2_to_uft8 (const guint16 *str,
gssize max);