GSoC: Documentation #2
[project/luci.git] / libs / lucid-rpc / luasrc / lucid / rpc.lua
index c89fc2444284d1d60044b740fa33911fab7910a1..417e57214292aee398f2a0ccea69e2f19deb7ca0 100644 (file)
@@ -17,7 +17,9 @@ local srv = require "luci.lucid.rpc.server"
 
 module "luci.lucid.rpc"
 
-
+--- Prepare the RPC-daemon and its associated publishers.
+-- @param publisher Table of publishers
+-- @return factory callback or nil, error message
 function factory(publisher)
        local root = srv.Module()
        local server = srv.Server(root)