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]]
|
2005-06-09 19:21:32 +00:00
|
|
|
[[if arg['optional'] == 'yes']]
|
2005-06-09 18:17:25 +00:00
|
|
|
[
|
|
|
|
[[end]]
|
|
|
|
[[arg['name']]]
|
2005-06-09 19:21:32 +00:00
|
|
|
[[if arg['optional'] == 'yes']]
|
2005-06-09 18:17:25 +00:00
|
|
|
]
|
|
|
|
[[end]]
|
|
|
|
[[end]]
|
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
<p/>
|
2005-06-10 01:35:43 +00:00
|
|
|
<h5>Description:</h5>
|
|
|
|
<pre>
|
|
|
|
[[int['interface_desc']]]<br><br>
|
|
|
|
</pre>
|
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]]
|