fwupd/plugins/thunderbolt/fu-thunderbolt-image.h
2018-05-29 09:03:13 +01:00

28 lines
662 B
C

/* -*- mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2017 Intel Corporation.
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __FU_THUNDERBOLT_IMAGE_H__
#define __FU_THUNDERBOLT_IMAGE_H__
#include <glib.h>
typedef enum {
VALIDATION_PASSED,
VALIDATION_FAILED,
UNKNOWN_DEVICE,
} FuPluginValidation;
FuPluginValidation fu_plugin_thunderbolt_validate_image (GBytes *controller_fw,
GBytes *blob_fw,
GError **error);
gboolean fu_plugin_thunderbolt_controller_is_native (GBytes *controller_fw,
gboolean *is_native,
GError **error);
#endif /* __FU_THUNDERBOLT_IMAGE_H__ */