fwupd/plugins/synaptics-prometheus/fu-synaprom-common.h
2021-08-24 11:18:40 -05:00

18 lines
381 B
C

/*
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2019 Synaptics Inc
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <glib.h>
GByteArray *
fu_synaprom_request_new(guint8 cmd, const gpointer data, gsize len);
GByteArray *
fu_synaprom_reply_new(gsize cmdlen);
gboolean
fu_synaprom_error_from_status(guint16 status, GError **error);