funcs.h
ds2.10/lib/secure/daemon/i3router/funcs.h · 411 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
// This file written mostly by Tim Johnson (Tim@TimMUD)
static mapping muds_on_this_fd(int fd){
return filter_mapping(connected_muds,"value_equals",this_object(),fd);
}
int value_equals(string a,int b, int c){ return b==c; }
static mapping muds_not_on_this_fd(int fd){
return filter_mapping(connected_muds,"value_equals",this_object(),fd);
}
int value_not_equals(string a,int b, int c){ return b!=c; }