[Spice-devel] [v3: PATCH 2/3] Add errors related to the SASL auth

Fabiano Fidêncio fidencio at redhat.com
Wed Oct 8 04:23:07 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 v2:
- Use SPICE_CLIENT_ERROR domain instead of create a new one
---
 gtk/spice-client.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gtk/spice-client.h b/gtk/spice-client.h
index 0e1e49d..f343fae 100644
--- a/gtk/spice-client.h
+++ b/gtk/spice-client.h
@@ -64,6 +64,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