os/ossrv/ofdbus/dbus/data/incomplete-messages/missing-body.message
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
## message that's missing an expected body
sl@0
     2
sl@0
     3
VALID_HEADER method_call
sl@0
     4
HEADER_FIELD INTERFACE
sl@0
     5
TYPE STRING
sl@0
     6
STRING 'org.freedesktop.Foo'
sl@0
     7
HEADER_FIELD MEMBER
sl@0
     8
TYPE STRING
sl@0
     9
STRING 'Bar'
sl@0
    10
ALIGN 8
sl@0
    11
END_LENGTH Header
sl@0
    12
sl@0
    13
## create the body, then chop it off
sl@0
    14
START_LENGTH Body
sl@0
    15
TYPE INT32
sl@0
    16
INT32 37
sl@0
    17
END_LENGTH Body
sl@0
    18
sl@0
    19
CHOP 8