summaryrefslogtreecommitdiff
path: root/src/ivyloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivyloop.c')
-rw-r--r--src/ivyloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ivyloop.c b/src/ivyloop.c
index d90fa6c..278e098 100644
--- a/src/ivyloop.c
+++ b/src/ivyloop.c
@@ -62,7 +62,7 @@ WSADATA WsaData;
#endif
void
-IvyChannelClose (Channel channel)
+IvyChannelRemove (Channel channel)
{
channel->tobedeleted = 1;
}
@@ -88,7 +88,7 @@ ChannelDefferedDelete ()
}
}
-Channel IvyChannelOpen (IVY_HANDLE fd, void *data,
+Channel IvyChannelAdd (IVY_HANDLE fd, void *data,
ChannelHandleDelete handle_delete,
ChannelHandleRead handle_read
)
@@ -131,7 +131,7 @@ IvyChannelHandleExcpt (fd_set *current)
if (FD_ISSET (channel->fd, current)) {
if (channel->handle_delete)
(*channel->handle_delete)(channel->data);
-/* IvyChannelClose (channel); */
+/* IvyChannelRemove (channel); */
}
}
}