summaryrefslogtreecommitdiffstats
path: root/client/red_peer.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-02-04 18:04:26 +0100
committerAlexander Larsson <alexl@redhat.com>2010-02-04 18:49:00 +0100
commit1f516978527b223882c02d8c23834a0f30279dec (patch)
tree7472bb21b145c2c586a3ad7aebb7bd136cef9e70 /client/red_peer.h
parentc1694fb51bb29d3cbd03f679372339f9e8f29803 (diff)
downloadspice-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.h')
-rw-r--r--client/red_peer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/red_peer.h b/client/red_peer.h
index 8a4060df..8b10a5ec 100644
--- a/client/red_peer.h
+++ b/client/red_peer.h
@@ -196,12 +196,12 @@ public:
OutMessage(uint32_t type, uint32_t size);
virtual ~OutMessage();
- RedDataHeader& header() { return *(RedDataHeader *)_data;}
- uint8_t* data() { return _data + sizeof(RedDataHeader);}
+ SpiceDataHeader& header() { return *(SpiceDataHeader *)_data;}
+ uint8_t* data() { return _data + sizeof(SpiceDataHeader);}
void resize(uint32_t size);
private:
- uint32_t message_size() { return header().size + sizeof(RedDataHeader);}
+ uint32_t message_size() { return header().size + sizeof(SpiceDataHeader);}
uint8_t* base() { return _data;}
private: