Browse code

app_lua: documented rpc app_lua.api_list command

Daniel-Constantin Mierla authored on 14/02/2017 10:03:10
Showing 1 changed files
... ...
@@ -405,6 +405,27 @@ if(!lua_runstring("sr.log([[err]], [[----------- Hello World from $fU\n]])"))
405 405
 			<programlisting  format="linespecific">
406 406
 ...
407 407
     &kamcmd; app_lua.reload 0
408
+...
409
+            </programlisting>
410
+        </section>
411
+       <section id="app_lua.r.api_list">
412
+            <title>
413
+            <function moreinfo="none">app_lua.api_list</function>
414
+            </title>
415
+            <para>
416
+			Lists the exported KEMI functions that can be used inside Lua
417
+			scripts.
418
+            </para>
419
+            <para>
420
+            Name: <emphasis>app_lua.api_list</emphasis>
421
+            </para>
422
+            <para>Parameters: <emphasis>none</emphasis></para>
423
+            <para>
424
+            Example:
425
+            </para>
426
+            <programlisting  format="linespecific">
427
+...
428
+    &kamcmd; app_lua.api_list
408 429
 ...
409 430
             </programlisting>
410 431
         </section>