/usr/share/doc/nescc/dump/wiring.dsd is in nescc 1.3.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <dsd xmlns="http://www.brics.dk/DSD/2.0"
xmlns:m="http://www.brics.dk/DSD/2.0/meta"
xmlns:nesc="http://www.tinyos.net/nesC">
<if>
<element name="nesc:wiring"/>
<declare>
<contents>
<repeat><element name="nesc:wire"/></repeat>
</contents>
</declare>
</if>
<if>
<element name="nesc:wire"/>
<declare>
<m:doc>Location attributes are present in user-level wiring, absent
in function-level wirings.</m:doc>
<attribute name="loc"/>
<contents>
<sequence>
<element name="nesc:from"/>
<element name="nesc:to"/>
</sequence>
</contents>
</declare>
</if>
<m:doc>A from and to in a wiring just refers to a declaration of
an interface or function, with optional arguments for parameterized
interfaces.</m:doc>
<if>
<and>
<or>
<element name="nesc:from"/>
<element name="nesc:to"/>
</or>
<parent><element name="nesc:wire"/></parent>
</and>
<declare>
<contents>
<or>
<element name="nesc:function-ref"/>
<element name="nesc:interface-ref"/>
</or>
</contents>
<contents>
<optional><element name="nesc:arguments"/></optional>
</contents>
</declare>
</if>
</dsd>
|