selinux-policy/doc/templates/interface.html

51 lines
997 B
HTML
Raw Normal View History

2005-06-10 01:35:43 +00:00
[[for int in interfaces]]
<a name="link_[[int['interface_name']]]"></a>
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
<div id="description">
2005-06-15 21:08:58 +00:00
[[if int['interface_summary']]]
2005-06-10 20:39:41 +00:00
<h5>Summary</h5>
[[int['interface_summary']]]
[[end]]
2005-06-15 21:08:58 +00:00
[[if int['interface_desc']]]
<h5>Description</h5>
[[int['interface_desc']]]
[[end]]
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="65%">
<tr><th >Parameter:</th><th >Description:</th></tr>
2005-06-10 01:35:43 +00:00
[[for arg in int['interface_parameters']]]
2005-06-09 18:17:25 +00:00
<tr><td>
[[arg['name']]]
</td><td>
[[arg['desc']]]
</td></tr>
[[end]]
</table>
</div>
</div>
2005-06-10 01:35:43 +00:00
[[end]]