
/* 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 "rest-enum-types.h"
#include "rest-proxy.h"
#include "rest-proxy-call.h"

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

/* enumerations from "rest-proxy-call.h" */

GType
rest_proxy_call_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (REST_PROXY_CALL_FAILED), "REST_PROXY_CALL_FAILED", "failed" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("RestProxyCallError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "rest-proxy.h" */

GType
rest_proxy_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (REST_PROXY_ERROR_CANCELLED), "REST_PROXY_ERROR_CANCELLED", "cancelled" },
        { C_ENUM (REST_PROXY_ERROR_RESOLUTION), "REST_PROXY_ERROR_RESOLUTION", "resolution" },
        { C_ENUM (REST_PROXY_ERROR_CONNECTION), "REST_PROXY_ERROR_CONNECTION", "connection" },
        { C_ENUM (REST_PROXY_ERROR_SSL), "REST_PROXY_ERROR_SSL", "ssl" },
        { C_ENUM (REST_PROXY_ERROR_IO), "REST_PROXY_ERROR_IO", "io" },
        { C_ENUM (REST_PROXY_ERROR_FAILED), "REST_PROXY_ERROR_FAILED", "failed" },
        { C_ENUM (REST_PROXY_ERROR_URL_INVALID), "REST_PROXY_ERROR_URL_INVALID", "url-invalid" },
        { C_ENUM (REST_PROXY_ERROR_BINDING_REQUIRED), "REST_PROXY_ERROR_BINDING_REQUIRED", "binding-required" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_MULTIPLE_CHOICES), "REST_PROXY_ERROR_HTTP_MULTIPLE_CHOICES", "http-multiple-choices" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_MOVED_PERMANENTLY), "REST_PROXY_ERROR_HTTP_MOVED_PERMANENTLY", "http-moved-permanently" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_FOUND), "REST_PROXY_ERROR_HTTP_FOUND", "http-found" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_SEE_OTHER), "REST_PROXY_ERROR_HTTP_SEE_OTHER", "http-see-other" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_NOT_MODIFIED), "REST_PROXY_ERROR_HTTP_NOT_MODIFIED", "http-not-modified" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_USE_PROXY), "REST_PROXY_ERROR_HTTP_USE_PROXY", "http-use-proxy" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_THREEOHSIX), "REST_PROXY_ERROR_HTTP_THREEOHSIX", "http-threeohsix" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_TEMPORARY_REDIRECT), "REST_PROXY_ERROR_HTTP_TEMPORARY_REDIRECT", "http-temporary-redirect" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_BAD_REQUEST), "REST_PROXY_ERROR_HTTP_BAD_REQUEST", "http-bad-request" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_UNAUTHORIZED), "REST_PROXY_ERROR_HTTP_UNAUTHORIZED", "http-unauthorized" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_FOUROHTWO), "REST_PROXY_ERROR_HTTP_FOUROHTWO", "http-fourohtwo" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_FORBIDDEN), "REST_PROXY_ERROR_HTTP_FORBIDDEN", "http-forbidden" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_NOT_FOUND), "REST_PROXY_ERROR_HTTP_NOT_FOUND", "http-not-found" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_METHOD_NOT_ALLOWED), "REST_PROXY_ERROR_HTTP_METHOD_NOT_ALLOWED", "http-method-not-allowed" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_NOT_ACCEPTABLE), "REST_PROXY_ERROR_HTTP_NOT_ACCEPTABLE", "http-not-acceptable" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_PROXY_AUTHENTICATION_REQUIRED), "REST_PROXY_ERROR_HTTP_PROXY_AUTHENTICATION_REQUIRED", "http-proxy-authentication-required" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_REQUEST_TIMEOUT), "REST_PROXY_ERROR_HTTP_REQUEST_TIMEOUT", "http-request-timeout" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_CONFLICT), "REST_PROXY_ERROR_HTTP_CONFLICT", "http-conflict" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_GONE), "REST_PROXY_ERROR_HTTP_GONE", "http-gone" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_LENGTH_REQUIRED), "REST_PROXY_ERROR_HTTP_LENGTH_REQUIRED", "http-length-required" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_PRECONDITION_FAILED), "REST_PROXY_ERROR_HTTP_PRECONDITION_FAILED", "http-precondition-failed" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_REQUEST_ENTITY_TOO_LARGE), "REST_PROXY_ERROR_HTTP_REQUEST_ENTITY_TOO_LARGE", "http-request-entity-too-large" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_REQUEST_URI_TOO_LONG), "REST_PROXY_ERROR_HTTP_REQUEST_URI_TOO_LONG", "http-request-uri-too-long" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_UNSUPPORTED_MEDIA_TYPE), "REST_PROXY_ERROR_HTTP_UNSUPPORTED_MEDIA_TYPE", "http-unsupported-media-type" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE), "REST_PROXY_ERROR_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE", "http-requested-range-not-satisfiable" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_EXPECTATION_FAILED), "REST_PROXY_ERROR_HTTP_EXPECTATION_FAILED", "http-expectation-failed" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_INTERNAL_SERVER_ERROR), "REST_PROXY_ERROR_HTTP_INTERNAL_SERVER_ERROR", "http-internal-server-error" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_NOT_IMPLEMENTED), "REST_PROXY_ERROR_HTTP_NOT_IMPLEMENTED", "http-not-implemented" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_BAD_GATEWAY), "REST_PROXY_ERROR_HTTP_BAD_GATEWAY", "http-bad-gateway" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_SERVICE_UNAVAILABLE), "REST_PROXY_ERROR_HTTP_SERVICE_UNAVAILABLE", "http-service-unavailable" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_GATEWAY_TIMEOUT), "REST_PROXY_ERROR_HTTP_GATEWAY_TIMEOUT", "http-gateway-timeout" },
        { C_ENUM (REST_PROXY_ERROR_HTTP_HTTP_VERSION_NOT_SUPPORTED), "REST_PROXY_ERROR_HTTP_HTTP_VERSION_NOT_SUPPORTED", "http-http-version-not-supported" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("RestProxyError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

