diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2010-03-31 18:20:43 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-09 21:59:04 +0200 |
commit | 46a183da7684ef915bcb6647be5c2235c62047c5 (patch) | |
tree | 2c78e20374b748141a2756d765d71b8d43e6a522 /hw/vhost_net.h | |
parent | 2a5612e6a33f7c50e48e6e6e287c33ec4adfd993 (diff) |
Remove magic numbers for VNC message IDs from code
The code processing incoming & sending outgoing messages from/to
clients used embedded magic numbers for all message IDs. This
made the code a little hard to follow. Add constants in the vnc.h
header file for all message IDs and use them in the code
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/vhost_net.h')
0 files changed, 0 insertions, 0 deletions