Move RPC-bidnings out of the way to prevent the indexer to require them
[project/luci.git] / modules / rpc / luasrc / jsonrpcbind / uvl.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 $Id$
14 ]]--
15
16 local uvl   = require "luci.uvl".UVL()
17 local table = require "table"
18
19 module "luci.controller.rpc.uvl"
20 _M, _PACKAGE, _NAME = nil, nil, nil
21
22
23 function get_scheme(...)
24         return uvl:get_scheme(...)
25 end
26
27 function validate(...)
28         return {uvl:validate(...)}
29 end
30
31 function validate_config(...)
32         return {uvl:validate_config(...)}
33 end
34
35 function validate_section(...)
36         return {uvl:validate_section(...)}
37 end
38
39 function validate_option(...)
40         return {uvl:validate_option(...)}
41 end