r19167: - Various JSON-RPC facilities will desire to keep resources open in a
[kai/samba.git] / services / samba / system.esp
1 <%
2 /*
3  * Copyright:
4  *   (C) 2006 by Derrell Lipman
5  *       All rights reserved
6  *
7  * License:
8  *   LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/
9  */
10
11 /*
12  * JSON-RPC mappings to system facilities
13  */
14
15 /* We'll be accessing session resources */
16 jsonrpc_include("resources.esp");
17
18
19 /**
20  * Retrieve the list of open resources (for debugging)
21  */
22 function _get_open_resources(params, error)
23 {
24     return session.resources.getList(error);
25 }
26 jsonrpc.method.get_open_resources = _get_open_resources;
27
28
29 /*
30  * Local Variables:
31  * mode: c
32  * End:
33  */
34 %>