Lines Matching refs:readers
50 struct eloop_sock *readers; member
133 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, in eloop_register_read_sock()
147 eloop.readers = tmp; in eloop_register_read_sock()
160 if (eloop.readers == NULL || eloop.reader_count == 0) in eloop_unregister_read_sock()
164 if (eloop.readers[i].sock == sock) in eloop_unregister_read_sock()
170 WSAEventSelect(eloop.readers[i].sock, eloop.readers[i].event, 0); in eloop_unregister_read_sock()
171 WSACloseEvent(eloop.readers[i].event); in eloop_unregister_read_sock()
174 os_memmove(&eloop.readers[i], &eloop.readers[i + 1], in eloop_unregister_read_sock()
493 eloop.handles[count++] = eloop.readers[i].event; in eloop_run()
563 if (WSAEnumNetworkEvents(eloop.readers[i].sock, in eloop_run()
564 eloop.readers[i].event, in eloop_run()
567 eloop.readers[i].handler( in eloop_run()
568 eloop.readers[i].sock, in eloop_run()
569 eloop.readers[i].eloop_data, in eloop_run()
570 eloop.readers[i].user_data); in eloop_run()
594 os_free(eloop.readers); in eloop_destroy()