diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-10-02 18:42:24 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-10-08 19:07:41 +0200 |
commit | 394fd0e6b76a8b4b0662d4445b4f961fa5798e74 (patch) | |
tree | 830309ac84b8e8269a9cdad1d8b13b968c897ce8 /server/main_channel.h | |
parent | b18d867b319b3077d12e853897ce30be09924045 (diff) |
Namespace RECEIVE_BUF_SIZE
Diffstat (limited to 'server/main_channel.h')
-rw-r--r-- | server/main_channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main_channel.h b/server/main_channel.h index 29eb8d41..c8e9ade2 100644 --- a/server/main_channel.h +++ b/server/main_channel.h @@ -30,12 +30,12 @@ #define REDS_NUM_INTERNAL_AGENT_MESSAGES 1 // approximate max receive message size for main channel -#define RECEIVE_BUF_SIZE \ +#define MAIN_CHANNEL_RECEIVE_BUF_SIZE \ (4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE) typedef struct MainChannel { RedChannel base; - uint8_t recv_buf[RECEIVE_BUF_SIZE]; + uint8_t recv_buf[MAIN_CHANNEL_RECEIVE_BUF_SIZE]; RedsMigSpice mig_target; // TODO: add refs and release (afrer all clients completed migration in one way or the other?) int num_clients_mig_wait; } MainChannel; |