Re: [v4: PATCH 3/4] Add errors related to the SASL auth

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

 



ack

----- Original Message -----
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
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]