summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-rpc/luasrc/lucid/rpc.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-06-14 08:51:43 +0000
committerSteven Barth <steven@midlink.org>2009-06-14 08:51:43 +0000
commitc47be2e727d1bb3e2e3aa415ec96be2a5f8a45b7 (patch)
tree40d9202363c5e81f9fe38b4d52a1cfa889792cda /libs/lucid-rpc/luasrc/lucid/rpc.lua
parentf9263e00c1371eff6ace0252143236d6bf6f2ce2 (diff)
GSoC: Documentation #2
Diffstat (limited to 'libs/lucid-rpc/luasrc/lucid/rpc.lua')
-rw-r--r--libs/lucid-rpc/luasrc/lucid/rpc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/lucid-rpc/luasrc/lucid/rpc.lua b/libs/lucid-rpc/luasrc/lucid/rpc.lua
index c89fc2444..417e57214 100644
--- a/libs/lucid-rpc/luasrc/lucid/rpc.lua
+++ b/libs/lucid-rpc/luasrc/lucid/rpc.lua
@@ -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)