Blame libgupnp-av/gupnp-av-error.c

Packit 712bc5
/*
Packit 712bc5
 * Copyright (C) 2009, Nokia Corporation.
Packit 712bc5
 * Copyright (C) 2006, 2007 OpenedHand Ltd.
Packit 712bc5
 *
Packit 712bc5
 * Authors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Packit 712bc5
 *                                <zeeshan.ali@nokia.com>
Packit 712bc5
 *          Jorn Baayen <jorn@openedhand.com>
Packit 712bc5
 *
Packit 712bc5
 * This library is free software; you can redistribute it and/or
Packit 712bc5
 * modify it under the terms of the GNU Library General Public
Packit 712bc5
 * License as published by the Free Software Foundation; either
Packit 712bc5
 * version 2 of the License, or (at your option) any later version.
Packit 712bc5
 *
Packit 712bc5
 * This library is distributed in the hope that it will be useful,
Packit 712bc5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 712bc5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 712bc5
 * Library General Public License for more details.
Packit 712bc5
 *
Packit 712bc5
 * You should have received a copy of the GNU Library General Public
Packit 712bc5
 * License along with this library; if not, write to the
Packit 712bc5
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit 712bc5
 * Boston, MA 02110-1301, USA.
Packit 712bc5
 */
Packit 712bc5
Packit 712bc5
#include "gupnp-av-error.h"
Packit 712bc5
Packit 712bc5
/**
Packit 712bc5
 * SECTION:gupnp-av-error
Packit 712bc5
 * @short_description: Error domains and codes.
Packit 712bc5
 */
Packit 712bc5
Packit 712bc5
/**
Packit 712bc5
 * GUPNP_PROTOCOL_ERROR:
Packit 712bc5
 *
Packit 712bc5
 * The #GQuark uniquely used by GUPnP AV protocol related errors.
Packit 712bc5
 *
Packit 712bc5
 * Returns: a #GQuark uniquely used by GUPnP AV protocol related errors.
Packit 712bc5
 **/
Packit 712bc5
GQuark
Packit 712bc5
gupnp_protocol_error_quark (void)
Packit 712bc5
{
Packit 712bc5
        static GQuark quark = 0;
Packit 712bc5
Packit 712bc5
        if (!quark)
Packit 712bc5
                quark = g_quark_from_static_string ("gupnp-protocol-error");
Packit 712bc5
Packit 712bc5
        return quark;
Packit 712bc5
}