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

#include "config.h"

#include <glib.h>

#include "fu-analogix-struct.h"

#ifdef G_LOG_DOMAIN
  #undef G_LOG_DOMAIN
#endif
#define G_LOG_DOMAIN "FuStruct"

/**
 * fu_analogix_update_status_to_string:
 * @val: value, e.g. %FU_ANALOGIX_UPDATE_STATUS_START
 *
 * Converts an enumerated value to a string.
 *
 * Returns: identifier string
 **/
const gchar *
fu_analogix_update_status_to_string(FuAnalogixUpdateStatus val)
{
    if (val == FU_ANALOGIX_UPDATE_STATUS_INVALID)
        return "invalid";
    if (val == FU_ANALOGIX_UPDATE_STATUS_START)
        return "start";
    if (val == FU_ANALOGIX_UPDATE_STATUS_FINISH)
        return "finish";
    if (val == FU_ANALOGIX_UPDATE_STATUS_ERROR)
        return "error";
    return NULL;
}


