
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "osinfo_enum_types.h"
#include "osinfo_version.h"
#include "osinfo.h"
#include "osinfo_avatar_format.h"
#include "osinfo_db.h"
#include "osinfo_loader.h"
#include "osinfo_datamap.h"
#include "osinfo_datamaplist.h"
#include "osinfo_device.h"
#include "osinfo_devicelink.h"
#include "osinfo_devicelist.h"
#include "osinfo_devicelinklist.h"
#include "osinfo_devicelinkfilter.h"
#include "osinfo_device_driver.h"
#include "osinfo_device_driverlist.h"
#include "osinfo_entity.h"
#include "osinfo_filter.h"
#include "osinfo_firmware.h"
#include "osinfo_firmwarelist.h"
#include "osinfo_install_config.h"
#include "osinfo_install_config_param.h"
#include "osinfo_install_config_paramlist.h"
#include "osinfo_install_script.h"
#include "osinfo_install_scriptlist.h"
#include "osinfo_product.h"
#include "osinfo_productfilter.h"
#include "osinfo_productlist.h"
#include "osinfo_platform.h"
#include "osinfo_platformlist.h"
#include "osinfo_list.h"
#include "osinfo_os.h"
#include "osinfo_oslist.h"
#include "osinfo_os_variant.h"
#include "osinfo_os_variantlist.h"
#include "osinfo_deployment.h"
#include "osinfo_deploymentlist.h"
#include "osinfo_media.h"
#include "osinfo_medialist.h"
#include "osinfo_resources.h"
#include "osinfo_resourceslist.h"
#include "osinfo_tree.h"
#include "osinfo_treelist.h"
#include "osinfo_image.h"
#include "osinfo_imagelist.h"
#include "osinfo_macros.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "osinfo_install_config_param.h" */

GType
osinfo_install_config_param_policy_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_INSTALL_CONFIG_PARAM_POLICY_NONE), "OSINFO_INSTALL_CONFIG_PARAM_POLICY_NONE", "none" },
        { C_ENUM (OSINFO_INSTALL_CONFIG_PARAM_POLICY_REQUIRED), "OSINFO_INSTALL_CONFIG_PARAM_POLICY_REQUIRED", "required" },
        { C_ENUM (OSINFO_INSTALL_CONFIG_PARAM_POLICY_OPTIONAL), "OSINFO_INSTALL_CONFIG_PARAM_POLICY_OPTIONAL", "optional" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoInstallConfigParamPolicy"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_install_script.h" */

GType
osinfo_path_format_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_PATH_FORMAT_UNIX), "OSINFO_PATH_FORMAT_UNIX", "unix" },
        { C_ENUM (OSINFO_PATH_FORMAT_DOS), "OSINFO_PATH_FORMAT_DOS", "dos" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoPathFormat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
osinfo_device_driver_signing_req_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE), "OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE", "none" },
        { C_ENUM (OSINFO_DEVICE_DRIVER_SIGNING_REQ_STRICT), "OSINFO_DEVICE_DRIVER_SIGNING_REQ_STRICT", "strict" },
        { C_ENUM (OSINFO_DEVICE_DRIVER_SIGNING_REQ_WARN), "OSINFO_DEVICE_DRIVER_SIGNING_REQ_WARN", "warn" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoDeviceDriverSigningReq"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
osinfo_install_script_injection_method_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM), "OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM", "cdrom" },
        { C_FLAGS (OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK), "OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK", "disk" },
        { C_FLAGS (OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY), "OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY", "floppy" },
        { C_FLAGS (OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD), "OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD", "initrd" },
        { C_FLAGS (OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB), "OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB", "web" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("OsinfoInstallScriptInjectionMethod"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
osinfo_install_script_installation_source_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA), "OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA", "media" },
        { C_ENUM (OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_NETWORK), "OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_NETWORK", "network" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoInstallScriptInstallationSource"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_loader.h" */

GType
osinfo_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_ERROR_GENERIC), "OSINFO_ERROR_GENERIC", "generic" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_media.h" */

GType
osinfo_media_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_MEDIA_ERROR_NO_DESCRIPTORS), "OSINFO_MEDIA_ERROR_NO_DESCRIPTORS", "no-descriptors" },
        { C_ENUM (OSINFO_MEDIA_ERROR_NO_PVD), "OSINFO_MEDIA_ERROR_NO_PVD", "no-pvd" },
        { C_ENUM (OSINFO_MEDIA_ERROR_NO_SVD), "OSINFO_MEDIA_ERROR_NO_SVD", "no-svd" },
        { C_ENUM (OSINFO_MEDIA_ERROR_INSUFFICIENT_METADATA), "OSINFO_MEDIA_ERROR_INSUFFICIENT_METADATA", "insufficient-metadata" },
        { C_ENUM (OSINFO_MEDIA_ERROR_NOT_BOOTABLE), "OSINFO_MEDIA_ERROR_NOT_BOOTABLE", "not-bootable" },
        { C_ENUM (OSINFO_MEDIA_ERROR_NO_DIRECTORY_RECORD_EXTENT), "OSINFO_MEDIA_ERROR_NO_DIRECTORY_RECORD_EXTENT", "no-directory-record-extent" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoMediaError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
osinfo_media_detect_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (OSINFO_MEDIA_DETECT_REQUIRE_BOOTABLE), "OSINFO_MEDIA_DETECT_REQUIRE_BOOTABLE", "bootable" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("OsinfoMediaDetectFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_os.h" */

GType
osinfo_release_status_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_RELEASE_STATUS_RELEASED), "OSINFO_RELEASE_STATUS_RELEASED", "released" },
        { C_ENUM (OSINFO_RELEASE_STATUS_SNAPSHOT), "OSINFO_RELEASE_STATUS_SNAPSHOT", "snapshot" },
        { C_ENUM (OSINFO_RELEASE_STATUS_PRERELEASE), "OSINFO_RELEASE_STATUS_PRERELEASE", "prerelease" },
        { C_ENUM (OSINFO_RELEASE_STATUS_ROLLING), "OSINFO_RELEASE_STATUS_ROLLING", "rolling" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoReleaseStatus"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_product.h" */

GType
osinfo_product_relationship_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_PRODUCT_RELATIONSHIP_DERIVES_FROM), "OSINFO_PRODUCT_RELATIONSHIP_DERIVES_FROM", "derives-from" },
        { C_ENUM (OSINFO_PRODUCT_RELATIONSHIP_UPGRADES), "OSINFO_PRODUCT_RELATIONSHIP_UPGRADES", "upgrades" },
        { C_ENUM (OSINFO_PRODUCT_RELATIONSHIP_CLONES), "OSINFO_PRODUCT_RELATIONSHIP_CLONES", "clones" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoProductRelationship"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "osinfo_tree.h" */

GType
osinfo_tree_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (OSINFO_TREE_ERROR_NO_TREEINFO), "OSINFO_TREE_ERROR_NO_TREEINFO", "no-treeinfo" },
        { C_ENUM (OSINFO_TREE_ERROR_NOT_SUPPORTED_PROTOCOL), "OSINFO_TREE_ERROR_NOT_SUPPORTED_PROTOCOL", "not-supported-protocol" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("OsinfoTreeError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

