Browse files

follow api changes in backend

git-svn-id: http://svn.coderepos.org/share/lang/c/picoev/trunk@35016 d0d07461-0603-4401-acd4-de1884942a52
  • Loading branch information...
1 parent c32d52d commit daa4932834b094f0906dd944c5ef633780f26cdd kazuho committed Aug 24, 2009
Showing with 16 additions and 6 deletions.
  1. +16 −6 picoev_select.c
View
22 picoev_select.c
@@ -32,12 +32,6 @@
picoev_globals picoev;
-int picoev_update_events_internal(picoev_loop* loop, int fd, int events)
-{
- picoev.fds[fd].events = events;
- return 0;
-}
-
picoev_loop* picoev_create_loop(int max_timeout)
{
picoev_loop* loop;
@@ -61,6 +55,22 @@ int picoev_destroy_loop(picoev_loop* loop)
return 0;
}
+int picoev_init_backend()
+{
+ return 0;
+}
+
+int picoev_deinit_backend()
+{
+ return 0;
+}
+
+int picoev_update_events_internal(picoev_loop* loop, int fd, int events)
+{
+ picoev.fds[fd].events = events;
+ return 0;
+}
+
int picoev_poll_once_internal(picoev_loop* loop, int max_wait)
{
fd_set readfds, writefds, errorfds;

0 comments on commit daa4932

Please sign in to comment.