/*
 * This file is auto-generated, do not modify!
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once
#include <libfwupd/fwupd-build.h>
/**
 * FwupdReportFlags:
 *
 * Flags used to represent report attributes
 */
typedef enum {
    /**
     * FWUPD_REPORT_FLAG_NONE:
     *
     * No report flags are set.
     */
    FWUPD_REPORT_FLAG_NONE = 0,
    /**
     * FWUPD_REPORT_FLAG_FROM_OEM:
     *
     * Report was generated by the OEM.
     */
    FWUPD_REPORT_FLAG_FROM_OEM = 1 << 0,
    /**
     * FWUPD_REPORT_FLAG_IS_UPGRADE:
     *
     * New firmware was newer than the old firmware.
     */
    FWUPD_REPORT_FLAG_IS_UPGRADE = 1 << 1,
    /**
     * FWUPD_REPORT_FLAG_UNKNOWN:
     *
     * The report flag is unknown.
     * This is usually caused by a mismatched libfwupdplugin and daemon.
     */
    FWUPD_REPORT_FLAG_UNKNOWN = G_MAXUINT64,
}  FwupdReportFlags;
const gchar *fwupd_report_flag_to_string(FwupdReportFlags val) G_GNUC_CONST;
FwupdReportFlags fwupd_report_flag_from_string(const gchar *val) G_GNUC_CONST G_GNUC_NON_NULL(1);
