summaryrefslogtreecommitdiffstats
path: root/services/samba/system.esp
blob: e75151e93b5c0200021abc5f60f6c1117176531b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%
/*
 * Copyright:
 *   (C) 2006 by Derrell Lipman
 *       All rights reserved
 *
 * License:
 *   LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/
 */

/*
 * JSON-RPC mappings to system facilities
 */

/* We'll be accessing session resources */
jsonrpc_include("resources.esp");


/**
 * Retrieve the list of open resources (for debugging)
 */
function _get_open_resources(params, error)
{
    return session.resources.getList(error);
}
jsonrpc.method.get_open_resources = _get_open_resources;


/*
 * Local Variables:
 * mode: c
 * End:
 */
%>