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 2916 by michael, Sat Jan 25 21:09:18 2014 UTC vs.
Revision 3984 by michael, Wed Jun 18 13:24:34 2014 UTC

# Line 35 | Line 35
35  
36   #define KE_LENGTH 128
37  
38 /* jlemon goofed up and didn't add EV_SET until fbsd 4.3 */
39
40 #ifndef EV_SET
41 #define EV_SET(kevp, a, b, c, d, e, f) do {     \
42        (kevp)->ident = (a);                    \
43        (kevp)->filter = (b);                   \
44        (kevp)->flags = (c);                    \
45        (kevp)->fflags = (d);                   \
46        (kevp)->data = (e);                     \
47        (kevp)->udata = (f);                    \
48 } while(0)
49 #endif
50
38   static fde_t kqfd;
39   static struct kevent kq_fdlist[KE_LENGTH];  /* kevent buffer */
40   static int kqoff;      /* offset into the buffer */
41  
42 +
43   /*
44   * init_netio
45   *

Diff Legend

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