ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_kqueue.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_bsd_kqueue.c (file contents):
Revision 3986 by michael, Wed Jun 18 14:40:01 2014 UTC vs.
Revision 4461 by michael, Wed Aug 13 17:05:26 2014 UTC

# Line 87 | Line 87 | kq_update_events(int fd, int filter, int
87   * and deregister interest in a pending IO state for a given FD.
88   */
89   void
90 < comm_setselect(fde_t *F, unsigned int type, PF *handler,
90 > comm_setselect(fde_t *F, unsigned int type, void (*handler)(fde_t *, void *),
91                 void *client_data, time_t timeout)
92   {
93    int new_events, diff;
# Line 140 | Line 140 | comm_select(void)
140    int num, i;
141    static struct kevent ke[KE_LENGTH];
142    struct timespec poll_time;
143 <  PF *hdl;
143 >  void (*hdl)(fde_t *, void *);
144    fde_t *F;
145  
146    /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)