[Spice-devel] [PATCH 1/3] Add SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS error
Fabiano Fidêncio
fidencio at redhat.com
Thu Sep 25 05:22:48 PDT 2014
SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS is being added to handle
connections using SASL for authentication, when some authentication
mechanisms need a username (the plain text and md5 ones, for exameple).
---
gtk/spice-channel.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gtk/spice-channel.h b/gtk/spice-channel.h
index 1c303b4..65b70c2 100644
--- a/gtk/spice-channel.h
+++ b/gtk/spice-channel.h
@@ -43,8 +43,9 @@ typedef struct _SpiceMsgOut SpiceMsgOut;
* @SPICE_CHANNEL_ERROR_CONNECT: connection error
* @SPICE_CHANNEL_ERROR_TLS: SSL error
* @SPICE_CHANNEL_ERROR_LINK: error during link process
- * @SPICE_CHANNEL_ERROR_AUTH: authentication error
+ * @SPICE_CHANNEL_ERROR_AUTH: authentication error, only password is required
* @SPICE_CHANNEL_ERROR_IO: IO error
+ * @SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS: authentication error, username and password are required
*
* An event, emitted by #SpiceChannel::channel-event signal.
**/
@@ -59,6 +60,7 @@ typedef enum
SPICE_CHANNEL_ERROR_LINK,
SPICE_CHANNEL_ERROR_AUTH,
SPICE_CHANNEL_ERROR_IO,
+ SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS,
} SpiceChannelEvent;
struct _SpiceChannel
--
1.9.3
More information about the Spice-devel
mailing list