[Spice-devel] [v4: PATCH 3/4] Add errors related to the SASL auth
Fabiano Fidêncio
fidencio at redhat.com
Wed Oct 8 05:15:27 PDT 2014
SPICE_CLIENT_ERROR_AUTH_* will be used to set more detailed errors
with respect to the main channel event SPICE_CHANNEL_ERROR_AUTH.
---
Changes since v3:
- Add docs for the SPICE_CLIENT_ERROR_AUTH*
---
gtk/spice-client.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gtk/spice-client.h b/gtk/spice-client.h
index f1a7fb3..c2474d1 100644
--- a/gtk/spice-client.h
+++ b/gtk/spice-client.h
@@ -58,6 +58,8 @@ G_BEGIN_DECLS
* @SPICE_CLIENT_ERROR_FAILED: generic error code
* @SPICE_CLIENT_USB_DEVICE_REJECTED: usb device rejected by host
* @SPICE_CLIENT_USB_DEVICE_LOST: usb device disconnected (fatal IO error)
+ * @SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD: password is required
+ * @SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD_AND_USERNAME: password and username are required
*
* Error codes returned by spice-client API.
*/
@@ -66,6 +68,8 @@ typedef enum
SPICE_CLIENT_ERROR_FAILED,
SPICE_CLIENT_USB_DEVICE_REJECTED,
SPICE_CLIENT_USB_DEVICE_LOST,
+ SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD,
+ SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD_AND_USERNAME,
} SpiceClientError;
GQuark spice_client_error_quark(void);
--
2.1.0
More information about the Spice-devel
mailing list