Merge from trunk
[plcapi.git] / trunk / doc / DocBookLocal.py
diff --git a/trunk/doc/DocBookLocal.py b/trunk/doc/DocBookLocal.py
new file mode 100644 (file)
index 0000000..a01ad6c
--- /dev/null
@@ -0,0 +1,8 @@
+
+from PLC.API import PLCAPI
+
+def get_func_list(methods = None):
+       api = PLCAPI(None)
+       if not methods:
+           methods = api.methods
+       return [api.callable(method) for method in methods]