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

54 lines
1.0 KiB
HTML
Raw Normal View History

2005-06-10 01:35:43 +00:00
[[for int in interfaces]]
2005-06-09 18:17:25 +00:00
<div id="interface">
2005-06-10 01:35:43 +00:00
[[if int.has_key("mod_layer")]]
Layer: [[mod_layer]]<br>
[[end]]
[[if int.has_key("mod_name")]]
Module: [[mod_name]]<br>
[[end]]
2005-06-09 18:17:25 +00:00
<div id="codeblock">
[[exec i = 0]]
2005-06-10 01:35:43 +00:00
<b>[[int['interface_name']]]</b>(
[[for arg in int['interface_parameters']]]
2005-06-09 18:17:25 +00:00
[[if i != 0]]
,
[[end]]
[[exec i = 1]]
[[if arg['optional'] == 'yes']]
2005-06-09 18:17:25 +00:00
[
[[end]]
[[arg['name']]]
[[if arg['optional'] == 'yes']]
2005-06-09 18:17:25 +00:00
]
[[end]]
[[end]]
)<br>
</div>
2005-06-10 20:39:41 +00:00
[[if int['interface_summary']]]
<div id="description">
<h5>Summary</h5>
[[int['interface_summary']]]
</div>
[[end]]
2005-06-09 18:17:25 +00:00
<div id="description">
2005-06-10 01:35:43 +00:00
<h5>Description:</h5>
2005-06-13 17:41:38 +00:00
[[int['interface_desc']]]<br/>
2005-06-09 18:17:25 +00:00
<h5>Parameters:</h5>
<div id="description">
<table border="1" cellspacing="0" cellpadding="3" width="80%">
2005-06-10 01:35:43 +00:00
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
[[for arg in int['interface_parameters']]]
2005-06-09 18:17:25 +00:00
<tr><td>
[[arg['name']]]
</td><td>
[[arg['desc']]]
</td><td>
[[arg['optional']]]
</td></tr>
[[end]]
</table>
</div>
</div>
</div>
2005-06-10 01:35:43 +00:00
[[end]]