From 4154d7028943ca4bf0f1ff2e0480d688fc081fcc Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 25 May 2010 16:01:18 +0200 Subject: Client: Use the autogenerated demarshallers When a message has been read from the network we now pass it into the generated demarshaller for the channel. The demarshaller converts the network data to in-memory structures that is passed on to the spice internals. Additionally it also: * Converts endianness * Validates sizes of message and any pointers in it * Localizes offsets (converts them to pointers) * Checks for zero offsets in messages where they are not supported Some of this was previously done using custom code in the client, this is now removed. --- client/canvas.h | 1 - 1 file changed, 1 deletion(-) (limited to 'client/canvas.h') diff --git a/client/canvas.h b/client/canvas.h index f0314b93..c988a523 100644 --- a/client/canvas.h +++ b/client/canvas.h @@ -452,7 +452,6 @@ private: void localalize_ptr(SPICE_ADDRESS* data); void localalize_image(SPICE_ADDRESS* in_bitmap); void localalize_brush(SpiceBrush& brush); - void localalize_attr(SpiceLineAttr& attr); void localalize_mask(SpiceQMask& mask); void begin_draw(SpiceMsgDisplayBase& base, int size, size_t min_size); -- cgit