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

#include "config.h"

#include <glib.h>

#include "fu-path-struct.h"

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

/**
 * fu_path_kind_to_string:
 * @val: value, e.g. %FU_PATH_KIND_DATADIR_PKG
 *
 * Converts an enumerated value to a string.
 *
 * Returns: identifier string
 **/
const gchar *
fu_path_kind_to_string(FuPathKind val)
{
    if (val == FU_PATH_KIND_CACHEDIR_PKG)
        return "cachedir-pkg";
    if (val == FU_PATH_KIND_DATADIR_PKG)
        return "datadir-pkg";
    if (val == FU_PATH_KIND_EFIAPPDIR)
        return "efiappdir";
    if (val == FU_PATH_KIND_LOCALSTATEDIR)
        return "localstatedir";
    if (val == FU_PATH_KIND_LOCALSTATEDIR_PKG)
        return "localstatedir-pkg";
    if (val == FU_PATH_KIND_LIBDIR_PKG)
        return "libdir-pkg";
    if (val == FU_PATH_KIND_SYSCONFDIR)
        return "sysconfdir";
    if (val == FU_PATH_KIND_SYSCONFDIR_PKG)
        return "sysconfdir-pkg";
    if (val == FU_PATH_KIND_SYSFSDIR)
        return "sysfsdir";
    if (val == FU_PATH_KIND_SYSFSDIR_FW)
        return "sysfsdir-fw";
    if (val == FU_PATH_KIND_SYSFSDIR_DRIVERS)
        return "sysfsdir-drivers";
    if (val == FU_PATH_KIND_SYSFSDIR_TPM)
        return "sysfsdir-tpm";
    if (val == FU_PATH_KIND_PROCFS)
        return "procfs";
    if (val == FU_PATH_KIND_SYSFSDIR_SECURITY)
        return "sysfsdir-security";
    if (val == FU_PATH_KIND_ACPI_TABLES)
        return "acpi-tables";
    if (val == FU_PATH_KIND_RUNDIR)
        return "rundir";
    if (val == FU_PATH_KIND_LOCKDIR)
        return "lockdir";
    if (val == FU_PATH_KIND_SYSFSDIR_FW_ATTRIB)
        return "sysfsdir-fw-attrib";
    if (val == FU_PATH_KIND_FIRMWARE_SEARCH)
        return "firmware-search";
    if (val == FU_PATH_KIND_DATADIR_QUIRKS)
        return "datadir-quirks";
    if (val == FU_PATH_KIND_LOCALSTATEDIR_QUIRKS)
        return "localstatedir-quirks";
    if (val == FU_PATH_KIND_LOCALSTATEDIR_METADATA)
        return "localstatedir-metadata";
    if (val == FU_PATH_KIND_LOCALSTATEDIR_REMOTES)
        return "localstatedir-remotes";
    if (val == FU_PATH_KIND_WIN32_BASEDIR)
        return "win32-basedir";
    if (val == FU_PATH_KIND_LOCALCONFDIR_PKG)
        return "localconfdir-pkg";
    if (val == FU_PATH_KIND_SYSFSDIR_DMI)
        return "sysfsdir-dmi";
    if (val == FU_PATH_KIND_HOSTFS_ROOT)
        return "hostfs-root";
    if (val == FU_PATH_KIND_HOSTFS_BOOT)
        return "hostfs-boot";
    if (val == FU_PATH_KIND_DEVFS)
        return "devfs";
    if (val == FU_PATH_KIND_LOCALTIME)
        return "localtime";
    if (val == FU_PATH_KIND_LIBEXECDIR)
        return "libexecdir";
    if (val == FU_PATH_KIND_LIBEXECDIR_PKG)
        return "libexecdir-pkg";
    if (val == FU_PATH_KIND_DATADIR_VENDOR_IDS)
        return "datadir-vendor-ids";
    if (val == FU_PATH_KIND_DEBUGFSDIR)
        return "debugfsdir";
    if (val == FU_PATH_KIND_UEFI_ESP)
        return "uefi-esp";
    return NULL;
}
