summaryrefslogtreecommitdiff
path: root/server/agent-msg-filter.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-04-01 14:19:25 +0200
committerHans de Goede <hdegoede@redhat.com>2011-04-04 11:30:30 +0200
commit3accb60240dbfd9a2a7627aef879f403cd517612 (patch)
tree0b4189bfe5e0b6a19128243310526b7c1e6b43a2 /server/agent-msg-filter.h
parent66cf0e28b3e7bcc5db3d1faf1de0437a6d2878d1 (diff)
server: add discard all option to agent message filter
Diffstat (limited to 'server/agent-msg-filter.h')
-rw-r--r--server/agent-msg-filter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/agent-msg-filter.h b/server/agent-msg-filter.h
index 99dbb8c5..ecccfc72 100644
--- a/server/agent-msg-filter.h
+++ b/server/agent-msg-filter.h
@@ -32,13 +32,14 @@ enum {
};
typedef struct AgentMsgFilter {
- struct VDAgentMessage msg_header;
int msg_data_to_read;
int result;
int copy_paste_enabled;
+ int discard_all;
} AgentMsgFilter;
-void agent_msg_filter_init(struct AgentMsgFilter *filter, int copy_paste);
+void agent_msg_filter_init(struct AgentMsgFilter *filter,
+ int copy_paste, int discard_all);
int agent_msg_filter_process_data(struct AgentMsgFilter *filter,
uint8_t *data, uint32_t len);