summaryrefslogtreecommitdiffstats
path: root/common/marshaller.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-25 16:01:18 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:43 +0100
commit3645036d7e9c75b35d5f653b68d5061b415b98ef (patch)
tree083944f86e03cfa51010303e4c1fb7fd2e2d3de3 /common/marshaller.c
parente9b33a194e2eb2a99a6daba16311c88237578697 (diff)
downloadspice-common-3645036d7e9c75b35d5f653b68d5061b415b98ef.tar.gz
spice-common-3645036d7e9c75b35d5f653b68d5061b415b98ef.tar.xz
spice-common-3645036d7e9c75b35d5f653b68d5061b415b98ef.zip
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.
Diffstat (limited to 'common/marshaller.c')
0 files changed, 0 insertions, 0 deletions