Return to io.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / bird2 / proto / bfd |
1.1 ! misho 1: /* ! 2: * BIRD -- I/O and event loop ! 3: * ! 4: * Can be freely distributed and used under the terms of the GNU GPL. ! 5: */ ! 6: ! 7: #ifndef _BIRD_BFD_IO_H_ ! 8: #define _BIRD_BFD_IO_H_ ! 9: ! 10: #include "nest/bird.h" ! 11: #include "lib/lists.h" ! 12: #include "lib/resource.h" ! 13: #include "lib/event.h" ! 14: #include "lib/timer.h" ! 15: #include "lib/socket.h" ! 16: ! 17: ! 18: void ev2_schedule(event *e); ! 19: ! 20: void sk_start(sock *s); ! 21: void sk_stop(sock *s); ! 22: ! 23: struct birdloop *birdloop_new(void); ! 24: void birdloop_start(struct birdloop *loop); ! 25: void birdloop_stop(struct birdloop *loop); ! 26: void birdloop_free(struct birdloop *loop); ! 27: ! 28: void birdloop_enter(struct birdloop *loop); ! 29: void birdloop_leave(struct birdloop *loop); ! 30: void birdloop_mask_wakeups(struct birdloop *loop); ! 31: void birdloop_unmask_wakeups(struct birdloop *loop); ! 32: ! 33: ! 34: #endif /* _BIRD_BFD_IO_H_ */