evport.c 406 B

1234567891011121314151617181920212223242526
  1. #include "iowatcher.h"
  2. #ifdef EVENT_PORT
  3. #include <port.h>
  4. int iowatcher_init(hloop_t* loop) {
  5. return 0;
  6. }
  7. int iowatcher_cleanup(hloop_t* loop) {
  8. return 0;
  9. }
  10. int iowatcher_add_event(hloop_t* loop, int fd, int events) {
  11. return 0;
  12. }
  13. int iowatcher_del_event(hloop_t* loop, int fd, int events) {
  14. return 0;
  15. }
  16. int iowatcher_poll_events(hloop_t* loop, int timeout) {
  17. return 0;
  18. }
  19. #endif