[Spice-commits] server/agent-msg-filter.c server/agent-msg-filter.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue May 24 16:46:42 UTC 2016


 server/agent-msg-filter.c |    6 +++---
 server/agent-msg-filter.h |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 5c64e011111f7f5897c7033e6236a110c49f880b
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Tue May 24 11:07:56 2016 -0500

    AgentMsgFilter: use typedef
    
    Instead of using the full 'struct AgentMsgFilter', use the typedef name
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/agent-msg-filter.c b/server/agent-msg-filter.c
index 25edfd9..3e5b225 100644
--- a/server/agent-msg-filter.c
+++ b/server/agent-msg-filter.c
@@ -28,7 +28,7 @@
 #include "reds.h"
 #include "red-qxl.h"
 
-void agent_msg_filter_config(struct AgentMsgFilter *filter,
+void agent_msg_filter_config(AgentMsgFilter *filter,
                              gboolean copy_paste, gboolean file_xfer,
                              gboolean use_client_monitors_config)
 {
@@ -37,7 +37,7 @@ void agent_msg_filter_config(struct AgentMsgFilter *filter,
     filter->use_client_monitors_config = use_client_monitors_config;
 }
 
-void agent_msg_filter_init(struct AgentMsgFilter *filter,
+void agent_msg_filter_init(AgentMsgFilter *filter,
                            gboolean copy_paste, gboolean file_xfer,
                            gboolean use_client_monitors_config,
                            int discard_all)
@@ -48,7 +48,7 @@ void agent_msg_filter_init(struct AgentMsgFilter *filter,
     filter->discard_all = discard_all;
 }
 
-int agent_msg_filter_process_data(struct AgentMsgFilter *filter,
+int agent_msg_filter_process_data(AgentMsgFilter *filter,
                                   uint8_t *data, uint32_t len)
 {
     struct VDAgentMessage msg_header;
diff --git a/server/agent-msg-filter.h b/server/agent-msg-filter.h
index 1835ef9..e7eef1a 100644
--- a/server/agent-msg-filter.h
+++ b/server/agent-msg-filter.h
@@ -42,14 +42,14 @@ typedef struct AgentMsgFilter {
     gboolean discard_all;
 } AgentMsgFilter;
 
-void agent_msg_filter_init(struct AgentMsgFilter *filter,
+void agent_msg_filter_init(AgentMsgFilter *filter,
                            gboolean copy_paste, gboolean file_xfer,
                            gboolean use_client_monitors_config,
                            gboolean discard_all);
-void agent_msg_filter_config(struct AgentMsgFilter *filter,
+void agent_msg_filter_config(AgentMsgFilter *filter,
                              gboolean copy_paste, gboolean file_xfer,
                              gboolean use_client_monitors_config);
-int agent_msg_filter_process_data(struct AgentMsgFilter *filter,
+int agent_msg_filter_process_data(AgentMsgFilter *filter,
                                   uint8_t *data, uint32_t len);
 
 #endif


More information about the Spice-commits mailing list