Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 19 of 19) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c274 if (wps->event_cb == NULL) in wps_fail_event()
282 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
290 if (wps->event_cb == NULL) in wps_success_event()
295 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
304 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
311 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
317 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
320 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
326 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
329 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
[all …]
Dwps_er.c40 if (wps->event_cb == NULL) in wps_er_sta_event()
55 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_sta_event()
133 if (wps->event_cb == NULL) in wps_er_ap_event()
150 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_ap_event()
1416 ap->er->wps->event_cb(ap->er->wps->cb_ctx, in wps_er_http_set_sel_reg_cb()
1552 er->wps->event_cb(er->wps->cb_ctx, in wps_er_set_sel_reg()
1623 ap->er->wps->event_cb(ap->er->wps->cb_ctx, WPS_EV_ER_AP_SETTINGS, in wps_er_ap_settings_cb()
Dwps_enrollee.c1049 if (wps->wps->event_cb) { in wps_process_m2d()
1073 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_M2D, &data); in wps_process_m2d()
1185 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_AP_PIN_SUCCESS, in wps_process_m6()
Dwps.h778 void (*event_cb)(void *ctx, enum wps_event event, member
/external/curl/docs/examples/
Dasiohiper.cpp178 static void event_cb(GlobalInfo *g, boost::asio::ip::tcp::socket *tcp_socket, in event_cb() function
245 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
252 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
259 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
262 boost::bind(&event_cb, g, tcp_socket, act)); in setsock()
Dghiper.c185 static gboolean event_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in event_cb() function
230 f->ev=g_io_add_watch(f->ch, kind, event_cb,g); in setsock()
Dhiperfifo.c177 static void event_cb(int fd, short kind, void *userp) in event_cb() function
239 f->ev = event_new(g->evbase, f->sockfd, kind, event_cb, g); in setsock()
Devhiperfifo.c185 static void event_cb(EV_P_ struct ev_io *w, int revents) in event_cb() function
242 ev_io_init(&f->ev, event_cb, f->sockfd, kind); in setsock()
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c36 void (*event_cb)(void *ctx, enum tls_event ev, member
122 global->event_cb = conf->event_cb; in tls_init()
834 if (global->event_cb == NULL) in gnutls_tls_fail_event()
846 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1149 if (conn->global->event_cb) { in tls_connection_verify_peer()
1174 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1261 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1262 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1344 if (conn->global->event_cb != NULL) { in tls_connection_handshake()
1351 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
Dtls_internal.c27 void (*event_cb)(void *ctx, enum tls_event ev, member
60 global->event_cb = conf->event_cb; in tls_init()
110 tlsv1_client_set_cb(conn->client, global->event_cb, in tls_connection_init()
Dtls_openssl.c174 void (*event_cb)(void *ctx, enum tls_event ev, member
233 context->event_cb = conf->event_cb; in tls_context_new()
681 if (conn->context->event_cb != NULL) { in ssl_info_cb()
688 context->event_cb(context->cb_ctx, TLS_ALERT, &ev); in ssl_info_cb()
1650 if (context->event_cb == NULL) in openssl_tls_fail_event()
1661 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in openssl_tls_fail_event()
1682 if (context->event_cb == NULL) in openssl_tls_cert_event()
1748 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in openssl_tls_cert_event()
1926 if (depth == 0 && preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1927 context->event_cb(context->cb_ctx, in tls_verify_cb()
Dtls.h84 void (*event_cb)(void *ctx, enum tls_event ev, member
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c289 if (!conn->event_cb) in tls_peer_cert_event()
315 conn->event_cb(conn->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in tls_peer_cert_event()
329 if (!conn->event_cb || !cert) in tls_cert_chain_failure_event()
341 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in tls_cert_chain_failure_event()
517 if (conn->event_cb) { in tls_process_certificate()
525 conn->event_cb(conn->cb_ctx, in tls_process_certificate()
536 if (conn->event_cb) { in tls_process_certificate()
549 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, in tls_process_certificate()
Dtlsv1_client.h55 void (*event_cb)(void *ctx, enum tls_event ev,
Dtlsv1_client_i.h71 void (*event_cb)(void *ctx, enum tls_event ev, member
Dtlsv1_client.c838 void (*event_cb)(void *ctx, enum tls_event ev, in tlsv1_client_set_cb()
843 conn->event_cb = event_cb; in tlsv1_client_set_cb()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c995 wps->event_cb = hostapd_wps_event_cb; in hostapd_init_wps()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c1947 tlsconf.event_cb = eap_peer_sm_tls_event; in eap_peer_sm_init()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1513 wps->event_cb = wpa_supplicant_wps_event; in wpas_wps_init()