Adapted for the new backend interface so refcounting should be sane now (especially for udp which didn't have any extra ref kludges). As a bonus, callbacks can now be set even when the file isn't open, and the backend can be set and queried. Rev: src/modules/files/file.c:1.314 Rev: src/modules/files/file.h:1.35 Rev: src/modules/files/sendfile.c:1.67 Rev: src/modules/files/socket.c:1.85 Rev: src/modules/files/termios.c:1.23 Rev: src/modules/files/udp.c:1.63