/usr/share/doc/nescc/dump/common.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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | <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">
<m:doc>nesC elements can be contained in nothing (global scope), a
component, or a function</m:doc>
<contenttype id="nesc:container">
<optional>
<or>
<element name="nesc:component-ref"/>
<element name="nesc:interfacedef-ref"/>
<element name="nesc:function-ref"/>
</or>
</optional>
</contenttype>
<m:doc>Attribute list.</m:doc>
<contenttype id="nesc:attributes">
<repeat><element name="nesc:attribute-value"/></repeat>
</contenttype>
<m:doc>Argument list</m:doc>
<if>
<element name="nesc:arguments"/>
<declare>
<contents>
<repeat>
<union>
<boolexp ref="nesc:type"/>
<element name="nesc:value"/>
</union>
</repeat>
</contents>
</declare>
</if>
<m:doc>Parameter list</m:doc>
<if>
<element name="nesc:parameters"/>
<declare>
<contents>
<sequence>
<repeat>
<or>
<m:doc>variables are regular function arguments, constants and
typedefs are used for generic component arguments.</m:doc>
<element name="nesc:variable"/>
<element name="nesc:constant"/>
<element name="nesc:typedef"/>
</or>
</repeat>
<optional><element name="nesc:varargs"/></optional>
</sequence>
</contents>
</declare>
</if>
<m:doc>Parameters of parameterised functions (void foo[...](...))</m:doc>
<if>
<element name="nesc:instance-parameters"/>
<declare>
<contents>
<repeat><element name="nesc:variable"/></repeat>
</contents>
</declare>
</if>
</dsd>
|