libpurple/protocols/zephyr/ZWait4Not.c

changeset 40166
811f82db29dd
parent 39829
ce056c64e426
child 40623
6260f39c7c65
equal deleted inserted replaced
40165:6bb197792c6d 40166:811f82db29dd
28 28
29 #else 29 #else
30 #include <sys/socket.h> 30 #include <sys/socket.h>
31 #endif 31 #endif
32 32
33 Code_t Z_WaitForNotice (notice, pred, arg, timeout) 33 Code_t
34 ZNotice_t *notice; 34 Z_WaitForNotice(ZNotice_t *notice, int (*pred)(ZNotice_t *, void *), void *arg,
35 int (*pred)(ZNotice_t *, void *); 35 int timeout)
36 void *arg;
37 int timeout;
38 { 36 {
39 Code_t retval; 37 Code_t retval;
40 struct timeval tv, t0; 38 struct timeval tv, t0;
41 fd_set fdmask; 39 fd_set fdmask;
42 int i, fd; 40 int i, fd;

mercurial