
/* 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 "calls-sip-enums.h"
#include "calls-sdp-crypto-context.h"
#include "calls-sip-util.h"

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

/* enumerations from "calls-sdp-crypto-context.h" */

GType
calls_crypto_context_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CALLS_CRYPTO_CONTEXT_STATE_INIT), "CALLS_CRYPTO_CONTEXT_STATE_INIT", "init" },
        { C_ENUM (CALLS_CRYPTO_CONTEXT_STATE_OFFER_LOCAL), "CALLS_CRYPTO_CONTEXT_STATE_OFFER_LOCAL", "offer-local" },
        { C_ENUM (CALLS_CRYPTO_CONTEXT_STATE_OFFER_REMOTE), "CALLS_CRYPTO_CONTEXT_STATE_OFFER_REMOTE", "offer-remote" },
        { C_ENUM (CALLS_CRYPTO_CONTEXT_STATE_NEGOTIATION_FAILED), "CALLS_CRYPTO_CONTEXT_STATE_NEGOTIATION_FAILED", "negotiation-failed" },
        { C_ENUM (CALLS_CRYPTO_CONTEXT_STATE_NEGOTIATION_SUCCESS), "CALLS_CRYPTO_CONTEXT_STATE_NEGOTIATION_SUCCESS", "negotiation-success" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("CallsCryptoContextState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "calls-sip-util.h" */

GType
sip_engine_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SIP_ENGINE_NULL), "SIP_ENGINE_NULL", "null" },
        { C_ENUM (SIP_ENGINE_INITIALIZING), "SIP_ENGINE_INITIALIZING", "initializing" },
        { C_ENUM (SIP_ENGINE_ERROR), "SIP_ENGINE_ERROR", "error" },
        { C_ENUM (SIP_ENGINE_READY), "SIP_ENGINE_READY", "ready" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SipEngineState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
sip_media_encryption_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SIP_MEDIA_ENCRYPTION_NONE), "SIP_MEDIA_ENCRYPTION_NONE", "none" },
        { C_ENUM (SIP_MEDIA_ENCRYPTION_PREFERRED), "SIP_MEDIA_ENCRYPTION_PREFERRED", "preferred" },
        { C_ENUM (SIP_MEDIA_ENCRYPTION_FORCED), "SIP_MEDIA_ENCRYPTION_FORCED", "forced" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SipMediaEncryption"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

