[PATCH 1/3] Add SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]