[Spice-devel] [PATCH 17/18] server/red_worker: s/release_item_proc/channel_release_pipe_item_proc/

Alon Levy alevy at redhat.com
Mon Feb 7 10:20:07 PST 2011


---
 server/red_worker.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 0393d77..8c39d09 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -350,7 +350,7 @@ typedef struct LocalCursor {
 typedef struct RedChannel RedChannel;
 typedef void (*channel_disconnect_proc)(RedChannel *channel);
 typedef void (*channel_hold_pipe_item_proc)(PipeItem *item);
-typedef void (*release_item_proc)(RedChannel *channel, void *item);
+typedef void (*channel_release_pipe_item_proc)(RedChannel *channel, void *item);
 typedef int (*handle_parsed_proc)(RedChannel *channel, uint32_t size, uint16_t type, void *message);
 
 struct RedChannel {
@@ -387,8 +387,9 @@ struct RedChannel {
 
     channel_disconnect_proc disconnect;
     channel_hold_pipe_item_proc hold_item;
-    release_item_proc release_item;
+    channel_release_pipe_item_proc release_item;
     handle_parsed_proc handle_message;
+
 #ifdef RED_STATISTICS
     struct {
         uint64_t *out_bytes_counter;
@@ -9352,7 +9353,7 @@ static RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_i
                                  event_listener_action_proc handler,
                                  channel_disconnect_proc disconnect,
                                  channel_hold_pipe_item_proc hold_item,
-                                 release_item_proc release_item,
+                                 channel_release_pipe_item_proc release_item,
                                  handle_parsed_proc handle_message)
 {
     struct epoll_event event;
-- 
1.7.4



More information about the Spice-devel mailing list