pike.git
/
lib
/
modules
/
Filesystem.pmod
/
Monitor.pmod
/
debug.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Filesystem.pmod/Monitor.pmod/debug.pike:10:
werror("file_exits(%O, %O)\r\n", path, st); } void file_created(string path, Stdio.Stat st) { werror("file_created(%O, %O)\r\n", path, st); } void file_deleted(string path) { werror("file_deleted(%O)\r\n", path); } void stable_data_change(string path, Stdio.Stat st) { werror("stable_data_change(%O, %O)\r\n", path, st); }
+
//! Return the set of active monitors.
+
mapping(string:Monitor) get_monitors()
+
{
+
return monitors + ([]);
+
}
int check(int|void max_wait, int|void max_cnt, mapping(string:int)|void ret_stats) { int ret; werror("check(%O, %O, %O) ==> %O\r\n", max_wait, max_cnt, ret_stats, ret = ::check(max_wait, max_cnt, ret_stats)); return ret; }