diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-04-01 14:19:25 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-04-04 11:30:30 +0200 |
commit | 3accb60240dbfd9a2a7627aef879f403cd517612 (patch) | |
tree | 0b4189bfe5e0b6a19128243310526b7c1e6b43a2 /server/agent-msg-filter.h | |
parent | 66cf0e28b3e7bcc5db3d1faf1de0437a6d2878d1 (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.h | 5 |
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); |