fwupd/plugins/thunderbolt/fu-thunderbolt-image.h

27 lines
589 B
C

/*
* 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__ */