1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00
Derrell Lipman 2d132edbab r20364: SWAT updates, part 1
These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell
(This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)
2007-10-10 14:30:16 -05:00

29 lines
484 B
Plaintext

<%
jsonrpc_include("resources.esp");
libinclude("base.js");
libinclude("management.js");
function _echo(params, error) {
var echo_string = params[0];
return echo_string;
}
jsonrpc.method.echo = _echo;
function _nbt_packet_stats(params, error) {
var stats = nbtd_statistics();
stats.server_status = new Object();
stats.server_status = server_status("nbt");
return stats;
}
jsonrpc.method.NBTPacketStats = _nbt_packet_stats;
/*
* Local Variables:
* mode: c
* End:
*/
%>