[Spice-devel] [PATCH] char-device: update function names in documentation

Frediano Ziglio fziglio at redhat.com
Tue May 17 10:06:13 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/char-device.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/server/char-device.h b/server/char-device.h
index 885cccc..39bff4e 100644
--- a/server/char-device.h
+++ b/server/char-device.h
@@ -93,10 +93,11 @@ GType red_char_device_get_type(void) G_GNUC_CONST;
  * Writing to the device
  * ---------------------
  * Write the data into RedCharDeviceWriteBuffer:
- * call red_char_device_buffer_get in order to get an appropriate buffer.
- * call red_char_device_buffer_add in order to push the buffer to the write queue.
+ * call red_char_device_write_buffer_get/red_char_device_write_buffer_get_server_no_token
+ * 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
- * red_char_device_buffer_release
+ * red_char_device_write_buffer_release
  *
  * reading from the device
  * -----------------------
-- 
2.7.4



More information about the Spice-devel mailing list