From 7bfd7ce0caded11224f141aad3d14c3316971392 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 27 Jul 2015 17:51:03 -0700 Subject: [PATCH] GUAC-298: Add missing comment. Update documentation style. --- src/protocols/vnc/client.c | 14 +++++++++----- src/protocols/vnc/client.h | 6 +++++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/protocols/vnc/client.c b/src/protocols/vnc/client.c index 2aa29fd3..990c09f0 100644 --- a/src/protocols/vnc/client.c +++ b/src/protocols/vnc/client.c @@ -225,12 +225,16 @@ static rfbClient* __guac_vnc_get_client(guac_client* client) { * Configure the VNC clipboard reader/writer based on configured encoding. * Defaults to standard ISO8859-1 encoding if an invalid format is encountered. * - * @param guac_client_data Structure containing VNC client configuration. - * @param name Encoding name. - * @return Returns 0 if standard ISO8859-1 encoding is used, 1 otherwise. + * @param guac_client_data + * Structure containing VNC client configuration. + * + * @param name + * Encoding name. + * + * @return + * Returns 0 if standard ISO8859-1 encoding is used, 1 otherwise. */ -int __guac_client_configure_clipboard_encoding(vnc_guac_client_data* guac_client_data, - const char* name) { +int __guac_client_configure_clipboard_encoding(vnc_guac_client_data* guac_client_data, const char* name) { /* Configure clipboard reader/writer based on encoding name */ if (strcmp(name, "UTF-8") == 0) { diff --git a/src/protocols/vnc/client.h b/src/protocols/vnc/client.h index feb181be..ccbac69e 100644 --- a/src/protocols/vnc/client.h +++ b/src/protocols/vnc/client.h @@ -211,9 +211,13 @@ typedef struct vnc_guac_client_data { #endif /** - * Clipboard encoding specific reader and writer. + * Clipboard encoding-specific reader. */ guac_iconv_read* clipboard_reader; + + /** + * Clipboard encoding-specific writer. + */ guac_iconv_write* clipboard_writer; } vnc_guac_client_data;