MAJOR: fd: replace all EV_FD_* macros with new fd_*_* inline calls
These functions have a more explicity meaning and will offer provisions
for explicit polling.
EV_FD_ISSET() has been left for now as it is still in use in checks.
diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h
index 724c27f..3ddc56d 100644
--- a/include/proto/stream_interface.h
+++ b/include/proto/stream_interface.h
@@ -167,14 +167,14 @@
static inline void si_shutr(struct stream_interface *si)
{
if (stream_int_shutr(si))
- EV_FD_CLR(si_fd(si), DIR_RD);
+ fd_stop_recv(si_fd(si));
}
/* Sends a shutw to the connection using the data layer */
static inline void si_shutw(struct stream_interface *si)
{
if (stream_int_shutw(si))
- EV_FD_CLR(si_fd(si), DIR_WR);
+ fd_stop_send(si_fd(si));
}
/* Calls the data state update on the stream interfaace */