Home
last modified time | relevance | path

Searched refs:readers (Results 1 – 4 of 4) sorted by relevance

/hostap-3.6.0/src/utils/
Deloop_win.c50 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()
557 eloop.handles[count++] = eloop.readers[i].event; in eloop_run()
627 if (WSAEnumNetworkEvents(eloop.readers[i].sock, in eloop_run()
[all …]
Deloop.c101 struct eloop_sock_table readers; member
184 eloop.readers.type = EVENT_TYPE_READ; in eloop_init()
443 static int eloop_sock_table_set_fds(struct eloop_sock_table *readers, in eloop_sock_table_set_fds() argument
458 if (readers && readers->table) { in eloop_sock_table_set_fds()
459 for (i = 0; i < readers->count; i++) { in eloop_sock_table_set_fds()
460 fd = readers->table[i].sock; in eloop_sock_table_set_fds()
552 static void eloop_sock_table_dispatch(struct eloop_sock_table *readers, in eloop_sock_table_dispatch() argument
558 if (eloop_sock_table_dispatch_table(readers, pollfds_map, in eloop_sock_table_dispatch()
627 if (eloop.readers.changed || in eloop_sock_table_dispatch()
649 if (eloop.readers.changed || in eloop_sock_table_dispatch()
[all …]
Dpcsc_funcs.c523 TCHAR *readers = NULL; in scard_init() local
525 char *readers = NULL; in scard_init() local
557 readers = os_malloc(len); in scard_init()
558 if (readers == NULL) { in scard_init()
563 ret = SCardListReaders(scard->ctx, NULL, readers, &len); in scard_init()
574 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: Readers", (u8 *) readers, len); in scard_init()
585 os_strncmp(&readers[pos], reader, os_strlen(reader)) == 0) in scard_init()
587 while (pos < len && readers[pos]) in scard_init()
590 if (pos < len && readers[pos] == '\0') in scard_init()
601 wpa_printf(MSG_DEBUG, "SCARD: Selected reader='%S'", &readers[pos]); in scard_init()
[all …]
/hostap-3.6.0/doc/
Dcode_structure.doxygen74 Wrapper for PC/SC lite SIM and smart card readers