summaryrefslogtreecommitdiff
path: root/libgupnp-av/gupnp-av-error.c
blob: 6030985d23e2366ce0d6367496c51a290d1a88e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * Copyright (C) 2009, Nokia Corporation.
 * Copyright (C) 2006, 2007 OpenedHand Ltd.
 *
 * Authors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 *                                <zeeshan.ali@nokia.com>
 *          Jorn Baayen <jorn@openedhand.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 *
 */

#include <config.h>

#include "gupnp-av-error.h"

/**
 * SECTION:gupnp-av-error
 * @short_description: Error domains and codes.
 */

/**
 * GUPNP_PROTOCOL_ERROR:
 *
 * The #GQuark uniquely used by GUPnP AV protocol related errors.
 *
 * Returns: a #GQuark uniquely used by GUPnP AV protocol related errors.
 **/
GQuark
gupnp_protocol_error_quark (void)
{
        static GQuark quark = 0;

        if (!quark)
                quark = g_quark_from_static_string ("gupnp-protocol-error");

        return quark;
}