Commit Graph
8 Commits
Author SHA1 Message Date
Alexander Larsson c621b2bdf1 Support extra prefix in code generators
This is require when we add a new spice.proto for the old (major 1)
protocol description.
2010-06-22 16:01:57 +02:00
Alexander Larsson 5341b632e2 Support creating marshallers that are called indirectly
This is needed if we want to switch marshallers depending on what
major version the remote side has.
2010-06-22 10:54:59 +02:00
Alexander Larsson 9123e24e7b Add destructor for demarshalled messages
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.
2010-06-22 10:53:24 +02:00
Alexander Larsson ae4436215c Make generated marshallers build on win32 2010-06-18 21:10:25 +02:00
Alexander Larsson 7fa29ea67e Support @as_ptr in demarshaller to avoid copying data unnecessary 2010-06-18 20:27:32 +02:00
Alexander Larsson 936b3f01f9 Add support for generating message and structure marshallers 2010-06-18 16:32:11 +02:00
Alexander Larsson b228d18d5c Add python code to automake system 2010-06-18 16:32:11 +02:00
Alexander Larsson 0366e7395c Initial import of spice protocol description and demarshall generator
The "spice.proto" file describes in detail the networking prototcol
that spice uses and spice_codegen.py can parse this and generate
demarshallers for such network messages.
2010-06-18 16:32:10 +02:00