selinux-policy/refpolicy/doc/templates/interface.html

43 lines
795 B
HTML
Raw Normal View History

2005-06-09 18:17:25 +00:00
<div id="interface">
<h4>[[interface_name]]</h4>
<p/>
<div id="codeblock">
[[exec i = 0]]
[[interface_name]](
[[for arg in interface_parameters]]
[[if i != 0]]
,
[[end]]
[[exec i = 1]]
[[if arg['optional'] == 'true']]
[
[[end]]
[[arg['name']]]
[[if arg['optional'] == 'true']]
]
[[end]]
[[end]]
)<br>
</div>
<div id="description">
<p/>
<h5>Description</h5>
[[interface_desc]]<br><br>
<h5>Parameters:</h5>
<div id="description">
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th class="title">Parameter:</td><th class="title">Description:</td><th class="title">Optional:</td></tr>
[[for arg in interface_parameters]]
<tr><td>
[[arg['name']]]
</td><td>
[[arg['desc']]]
</td><td>
[[arg['optional']]]
</td></tr>
[[end]]
</table>
</div>
</div>
</div>