diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:04:26 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:49:00 +0100 |
commit | 1f516978527b223882c02d8c23834a0f30279dec (patch) | |
tree | 7472bb21b145c2c586a3ad7aebb7bd136cef9e70 /client/red_peer.cpp | |
parent | c1694fb51bb29d3cbd03f679372339f9e8f29803 (diff) | |
download | spice-1f516978527b223882c02d8c23834a0f30279dec.tar.gz spice-1f516978527b223882c02d8c23834a0f30279dec.tar.xz spice-1f516978527b223882c02d8c23834a0f30279dec.zip |
Rename symbols that were changed in spice-protocol
This is an automatic change using:
$ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
$ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
Diffstat (limited to 'client/red_peer.cpp')
-rw-r--r-- | client/red_peer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/red_peer.cpp b/client/red_peer.cpp index 0fd60242..f12be5a6 100644 --- a/client/red_peer.cpp +++ b/client/red_peer.cpp @@ -658,10 +658,10 @@ uint32_t RedPeer::recive(uint8_t *buf, uint32_t size) RedPeer::CompundInMessage* RedPeer::recive() { - RedDataHeader header; + SpiceDataHeader header; AutoRef<CompundInMessage> message; - recive((uint8_t*)&header, sizeof(RedDataHeader)); + recive((uint8_t*)&header, sizeof(SpiceDataHeader)); message.reset(new CompundInMessage(header.serial, header.type, header.size, header.sub_list)); recive((*message)->data(), (*message)->compund_size()); return message.release(); @@ -729,7 +729,7 @@ uint32_t RedPeer::send(RedPeer::OutMessage& message) } RedPeer::OutMessage::OutMessage(uint32_t type, uint32_t size) - : _data (new uint8_t[size + sizeof(RedDataHeader)]) + : _data (new uint8_t[size + sizeof(SpiceDataHeader)]) , _size (size) { header().type = type; @@ -751,7 +751,7 @@ void RedPeer::OutMessage::resize(uint32_t size) delete[] _data; _data = NULL; _size = 0; - _data = new uint8_t[size + sizeof(RedDataHeader)]; + _data = new uint8_t[size + sizeof(SpiceDataHeader)]; _size = size; header().type = type; header().size = size; |