3 used for general purpose calls
5 libinclude("server_call.js");
7 /* register a call for clients to make */
8 var call = servCallObj();
11 a remote printf, for displaying stuff on smbd stdout
15 var s = string_init();
16 print(s.vsprintf(arguments));
20 /* add some basic calls */
21 call.add('srv_printf', srv_printf);
23 /* run the function that was asked for */