|
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 |
#ifndef __GUPNP_AV_ERROR_H__
|
|
Packit |
712bc5 |
#define __GUPNP_AV_ERROR_H__
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
#include <glib.h>
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_BEGIN_DECLS
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
GQuark
|
|
Packit |
712bc5 |
gupnp_protocol_error_quark (void) G_GNUC_CONST;
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
#define GUPNP_PROTOCOL_ERROR (gupnp_protocol_error_quark ())
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
/**
|
|
Packit |
712bc5 |
* GUPnPProtocolError:
|
|
Packit |
712bc5 |
* @GUPNP_PROTOCOL_ERROR_INVALID_SYNTAX: Invalid syntax.
|
|
Packit |
712bc5 |
* @GUPNP_PROTOCOL_ERROR_OTHER: Unknown/unhandled protocol related errors.
|
|
Packit |
712bc5 |
*
|
|
Packit |
712bc5 |
* #GError codes used for errors in the #GUPNP_PROTOCOL_ERROR domain, upon any
|
|
Packit |
712bc5 |
* protocol related errors.
|
|
Packit |
712bc5 |
*/
|
|
Packit |
712bc5 |
typedef enum {
|
|
Packit |
712bc5 |
GUPNP_PROTOCOL_ERROR_INVALID_SYNTAX,
|
|
Packit |
712bc5 |
GUPNP_PROTOCOL_ERROR_OTHER
|
|
Packit |
712bc5 |
} GUPnPProtocolError;
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_END_DECLS
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
#endif /* __GUPNP_AV_ERROR_H__ */
|