4 * Copyright (C) Rafal Szczesniak 2007
7 /* Simple JSON-RPC access to the configuration parameters */
9 function _lp_get(params, error)
11 if (params.length < 1)
13 error.setError(jsonrpc.Constant.ServerError.ParameterMismatch,
14 "no parameter specified");
18 var lp = loadparm_init();
20 var value = lp.get(name);
24 jsonrpc.method.lp_get = _lp_get;