diff options
author | Arnon Gilboa <agilboa@agilboa.usersys.redhat.com> | 2010-07-21 17:41:13 +0300 |
---|---|---|
committer | Arnon Gilboa <agilboa@agilboa.usersys.redhat.com> | 2010-07-21 17:41:13 +0300 |
commit | b0f61eba2582f8e18ac5a71d28a3331effd15bfb (patch) | |
tree | eadead98fe6a764f6c5fbb77d6e49a8515e731e7 | |
parent | a94a5b171aea36fece4b3d94b3b2c112cd0f93e3 (diff) | |
download | spice-protocol-b0f61eba2582f8e18ac5a71d28a3331effd15bfb.tar.gz spice-protocol-b0f61eba2582f8e18ac5a71d28a3331effd15bfb.tar.xz spice-protocol-b0f61eba2582f8e18ac5a71d28a3331effd15bfb.zip |
client/agent: add clipboard max size limit for sending to/from the guest agent
define default & env variable for overriding it
-rw-r--r-- | spice/vd_agent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 4e6fcf7..f24479d 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -45,6 +45,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentMessage { #define VD_AGENT_PROTOCOL 1 #define VD_AGENT_MAX_DATA_SIZE 2048 +#define VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT 1024 +#define VD_AGENT_CLIPBOARD_MAX_SIZE_ENV "SPICE_CLIPBOARD_MAX_SIZE" enum { VD_AGENT_MOUSE_STATE = 1, |