selinux-policy/refpolicy/doc/templates/interface.html
2005-06-13 17:41:38 +00:00

54 lines
1.0 KiB
HTML

[[for int in interfaces]]
<div id="interface">
[[if int.has_key("mod_layer")]]
Layer: [[mod_layer]]<br>
[[end]]
[[if int.has_key("mod_name")]]
Module: [[mod_name]]<br>
[[end]]
<div id="codeblock">
[[exec i = 0]]
<b>[[int['interface_name']]]</b>(
[[for arg in int['interface_parameters']]]
[[if i != 0]]
,
[[end]]
[[exec i = 1]]
[[if arg['optional'] == 'yes']]
[
[[end]]
[[arg['name']]]
[[if arg['optional'] == 'yes']]
]
[[end]]
[[end]]
)<br>
</div>
[[if int['interface_summary']]]
<div id="description">
<h5>Summary</h5>
[[int['interface_summary']]]
</div>
[[end]]
<div id="description">
<h5>Description:</h5>
[[int['interface_desc']]]<br/>
<h5>Parameters:</h5>
<div id="description">
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
[[for arg in int['interface_parameters']]]
<tr><td>
[[arg['name']]]
</td><td>
[[arg['desc']]]
</td><td>
[[arg['optional']]]
</td></tr>
[[end]]
</table>
</div>
</div>
</div>
[[end]]