eventlib_p.h (7c478bd9) | eventlib_p.h (6a1c6faa) |
---|---|
1/* | 1/* |
2 * Copyright 2003 Sun Microsystems, Inc. All rights reserved. | 2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
3 * Use is subject to license terms. 4 */ 5 6/* 7 * Copyright (c) 1995-1999 by Internet Software Consortium 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above --- 173 unchanged lines hidden (view full) --- 184} __evEmulMask; 185 186#define emulMaskInit(ctx, field, ev, lastnext) \ 187 ctx->field.ctx = ctx; \ 188 ctx->field.type = ev; \ 189 ctx->field.result = lastnext; 190 191/* Any value other than EV_* values from <isc/eventlib.h> will do */ | 3 * Use is subject to license terms. 4 */ 5 6/* 7 * Copyright (c) 1995-1999 by Internet Software Consortium 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above --- 173 unchanged lines hidden (view full) --- 184} __evEmulMask; 185 186#define emulMaskInit(ctx, field, ev, lastnext) \ 187 ctx->field.ctx = ctx; \ 188 ctx->field.type = ev; \ 189 ctx->field.result = lastnext; 190 191/* Any value other than EV_* values from <isc/eventlib.h> will do */ |
192#define EV_WASNONBLOCKING 4000000001 | 192#define EV_WASNONBLOCKING 4000000001U |
193 194extern short *__fd_eventfield(int fd, __evEmulMask *maskp); 195extern short __poll_event(__evEmulMask *maskp); 196extern void __fd_clr(int fd, __evEmulMask *maskp); 197extern void __fd_set(int fd, __evEmulMask *maskp); 198 199#undef FD_ZERO 200#define FD_ZERO(maskp) --- 81 unchanged lines hidden --- | 193 194extern short *__fd_eventfield(int fd, __evEmulMask *maskp); 195extern short __poll_event(__evEmulMask *maskp); 196extern void __fd_clr(int fd, __evEmulMask *maskp); 197extern void __fd_set(int fd, __evEmulMask *maskp); 198 199#undef FD_ZERO 200#define FD_ZERO(maskp) --- 81 unchanged lines hidden --- |