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 5347 by michael, Sun Jan 11 12:42:20 2015 UTC

# Line 1 | Line 1
1   /*
2   *  ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3   *
4 < *  Copyright (c) 2000-2014 ircd-hybrid development team
4 > *  Copyright (c) 2000-2015 ircd-hybrid development team
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 15 | Line 15
15   *
16   *  You should have received a copy of the GNU General Public License
17   *  along with this program; if not, write to the Free Software
18 < *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
18 > *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
19   *  USA
20   */
21  
# 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)