Fix a gcc 4.6 warning.
[usmb.git] / config.rng
blobf20afbbf3e3aa82ce9ddc0a967431dba3389dfa7
1 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
3   <start>
4     <ref name="usmbconfig" />
5   </start>
8   <define name="usmbconfig">
9     <element name="usmbconfig">
10       <zeroOrMore>
11         <choice>
12           <ref name="credentials" />
13           <ref name="mount" />
14         </choice>
15       </zeroOrMore>
16     </element>
17   </define>
20   <define name="credentials">
21     <element name="credentials">
22       <attribute name="id" />
23       <optional>
24         <element name="domain"> <text /> </element>
25       </optional>
26       <element name="username"> <text /> </element>
27       <optional>
28         <element name="password"> <text /> </element>
29       </optional>
30     </element>
31   </define>
34   <define name="mount">
35     <element name="mount">
36       <attribute name="id" />
37       <attribute name="credentials" />
38       <element name="server"> <text /> </element>
39       <element name="share"> <text /> </element>
40       <element name="mountpoint"> <text /> </element>
41       <optional>
42         <element name="options"> <text /> </element>
43       </optional>
44     </element>
45   </define>
47 </grammar>