| 1 | /* |
| 2 | * Copyright (C) 2009, Nokia Corporation. |
| 3 | * Copyright (C) 2006, 2007 OpenedHand Ltd. |
| 4 | * |
| 5 | * Authors: Zeeshan Ali (Khattak) <[email protected]> |
| 6 | * <[email protected]> |
| 7 | * Jorn Baayen <[email protected]> |
| 8 | * |
| 9 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 10 | * |
| 11 | */ |
| 12 | |
| 13 | #ifndef GUPNP_AV_ERROR_H |
| 14 | #define GUPNP_AV_ERROR_H |
| 15 | |
| 16 | #include <glib.h> |
| 17 | |
| 18 | G_BEGIN_DECLS |
| 19 | |
| 20 | GQuark |
| 21 | gupnp_protocol_error_quark (void) G_GNUC_CONST; |
| 22 | |
| 23 | #define GUPNP_PROTOCOL_ERROR (gupnp_protocol_error_quark ()) |
| 24 | |
| 25 | /** |
| 26 | * GUPnPProtocolError: |
| 27 | * @GUPNP_PROTOCOL_ERROR_INVALID_SYNTAX: Invalid syntax. |
| 28 | * @GUPNP_PROTOCOL_ERROR_OTHER: Unknown/unhandled protocol related errors. |
| 29 | * |
| 30 | * #GError codes used for errors in the #GUPNP_PROTOCOL_ERROR domain, upon any |
| 31 | * protocol related errors. |
| 32 | */ |
| 33 | typedef enum { |
| 34 | GUPNP_PROTOCOL_ERROR_INVALID_SYNTAX, |
| 35 | GUPNP_PROTOCOL_ERROR_OTHER |
| 36 | } GUPnPProtocolError; |
| 37 | |
| 38 | G_END_DECLS |
| 39 | |
| 40 | #endif /* __GUPNP_AV_ERROR_H__ */ |