[Spice-devel] [PATCH spice-server] char-device: Fix some comments

Snir Sheriber ssheribe at redhat.com
Sun Jun 2 08:21:00 UTC 2019


Acked-by: Snir Sheriber <ssheribe at redhat.com>

On 5/31/19 7:52 AM, Frediano Ziglio wrote:
> Some function names where changed.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>   server/char-device.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/server/char-device.h b/server/char-device.h
> index 62d2fa61e..b19560816 100644
> --- a/server/char-device.h
> +++ b/server/char-device.h
> @@ -93,13 +93,13 @@ GType red_char_device_get_type(void) G_GNUC_CONST;
>    * device attached: create new object instantiating a RedCharDevice child class
>    * device detached: call g_object_unref/red_char_device_reset
>    *
> - * client connected and associated with a device: red_char_device__add
> - * client disconnected: red_char_device__remove
> + * client connected and associated with a device: red_char_device_client_add
> + * client disconnected: red_char_device_client_remove
>    *
>    * Writing to the device
>    * ---------------------
>    * Write the data into RedCharDeviceWriteBuffer:
> - * call red_char_device_write_buffer_get/red_char_device_write_buffer_get_server_no_token
> + * call red_char_device_write_buffer_get_client/red_char_device_write_buffer_get_server
>    * in order to get an appropriate buffer.
>    * call red_char_device_write_buffer_add in order to push the buffer to the write queue.
>    * If you choose not to push the buffer to the device, call


More information about the Spice-devel mailing list