summaryrefslogtreecommitdiffstats
path: root/client/demarshallers.h
Commit message (Collapse)AuthorAgeFilesLines
* Generate marshaller/demarshallers for old protocolAlexander Larsson2010-06-221-0/+1
|
* Add destructor for demarshalled messagesAlexander Larsson2010-06-221-1/+3
| | | | | | | This is required because we don't want to free messages that just refer to the unparsed message (like SpiceMsgData). Also, in the future we might need it for more complex demarshalling.
* Client: Use the autogenerated demarshallersAlexander Larsson2010-06-181-0/+25
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.