ofdbus/dbus/data/incomplete-messages/missing-body.message
author Peter Fordham <peter.fordham@gmail.com>
Mon, 22 Mar 2010 12:54:15 -0700
branchCompilerCompatibility
changeset 11 8d1ef0d13f16
parent 0 e4d67989cc36
permissions -rw-r--r--
Bug 1697 - Restructed function control flow to aviod branching across initialization.

## message that's missing an expected body

VALID_HEADER method_call
HEADER_FIELD INTERFACE
TYPE STRING
STRING 'org.freedesktop.Foo'
HEADER_FIELD MEMBER
TYPE STRING
STRING 'Bar'
ALIGN 8
END_LENGTH Header

## create the body, then chop it off
START_LENGTH Body
TYPE INT32
INT32 37
END_LENGTH Body

CHOP 8