~ubuntu-branches/debian/experimental/gupnp/experimental

« back to all changes in this revision

Viewing changes to libgupnp/gupnp-error.h

  • Committer: Bazaar Package Importer
  • Author(s): Ross Burton
  • Date: 2008-06-30 09:32:18 UTC
  • mfrom: (1.2.1 upstream) (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080630093218-vmb4elru8cn18579
Tags: 0.12.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#define GUPNP_SERVER_ERROR (gupnp_server_error_quark ())
33
33
 
 
34
/**
 
35
 * GUPnPServerError:
 
36
 * @GUPNP_SERVER_ERROR_INTERNAL_SERVER_ERROR: Internal server error.
 
37
 * @GUPNP_SERVER_ERROR_NOT_FOUND: The resource was not found.
 
38
 * @GUPNP_SERVER_ERROR_NOT_IMPLEMENTED: This method is not implemented.
 
39
 * @GUPNP_SERVER_ERROR_INVALID_RESPONSE: Invalid response.
 
40
 * @GUPNP_SERVER_ERROR_INVALID_URL: Invalid URL.
 
41
 * @GUPNP_SERVER_ERROR_OTHER: Unknown/unhandled error.
 
42
 *
 
43
 * #GError codes used for errors in the #GUPNP_SERVER_ERROR domain, when there
 
44
 * is communication with another server.
 
45
 */
34
46
typedef enum {
35
47
        GUPNP_SERVER_ERROR_INTERNAL_SERVER_ERROR,
36
48
        GUPNP_SERVER_ERROR_NOT_FOUND,
45
57
 
46
58
#define GUPNP_EVENTING_ERROR (gupnp_eventing_error_quark ())
47
59
 
 
60
/**
 
61
 * GUPnPEventingError:
 
62
 * @GUPNP_EVENTING_ERROR_SUBSCRIPTION_FAILED: The subscription attempt failed.
 
63
 * @GUPNP_EVENTING_ERROR_SUBSCRIPTION_LOST: The subscription was lost.
 
64
 * @GUPNP_EVENTING_ERROR_NOTIFY_FAILED: The notification failed.
 
65
 *
 
66
 * #GError codes used for errors in the #GUPNP_EVENTING_ERROR domain, during
 
67
 * eventing of state variables.
 
68
 */
48
69
typedef enum {
49
70
        GUPNP_EVENTING_ERROR_SUBSCRIPTION_FAILED,
50
71
        GUPNP_EVENTING_ERROR_SUBSCRIPTION_LOST,
56
77
 
57
78
#define GUPNP_CONTROL_ERROR (gupnp_control_error_quark ())
58
79
 
 
80
/**
 
81
 * GUPnPControlError:
 
82
 * @GUPNP_CONTROL_ERROR_INVALID_ACTION: The action name was invalid.
 
83
 * @GUPNP_CONTROL_ERROR_INVALID_ARGS: The action arguments were invalid.
 
84
 * @GUPNP_CONTROL_ERROR_OUT_OF_SYNC: Out of sync (deprecated).
 
85
 * @GUPNP_CONTROL_ERROR_ACTION_FAILED: The action failed.
 
86
 *
 
87
 * #GError codes used for errors in the #GUPNP_CONTROL_ERROR domain, during
 
88
 * invocation of service actions.
 
89
 */
59
90
typedef enum {
60
91
        GUPNP_CONTROL_ERROR_INVALID_ACTION = 401,
61
92
        GUPNP_CONTROL_ERROR_INVALID_ARGS   = 402,