Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_common.c277 if (wps->event_cb == NULL) in wps_fail_event()
285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
293 if (wps->event_cb == NULL) in wps_success_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
307 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
320 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
329 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
332 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()
1415 ap->er->wps->event_cb(ap->er->wps->cb_ctx, in wps_er_http_set_sel_reg_cb()
1551 er->wps->event_cb(er->wps->cb_ctx, in wps_er_set_sel_reg()
1622 ap->er->wps->event_cb(ap->er->wps->cb_ctx, WPS_EV_ER_AP_SETTINGS, in wps_er_ap_settings_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_common.c277 if (wps->event_cb == NULL) in wps_fail_event()
285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
293 if (wps->event_cb == NULL) in wps_success_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
307 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
320 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
329 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
332 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dx11wrap.c62 pa_x11_event_cb_t event_cb; member
82 if (c->event_cb) in work()
83 if (c->event_cb(w, &e, c->userdata) != 0) in work()
281 pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, pa_x11_event_cb_t event_cb, pa_x11_kill_cb_t ki… in pa_x11_client_new() argument
289 c->event_cb = event_cb; in pa_x11_client_new()
Dx11wrap.h55 pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, pa_x11_event_cb_t event_cb, pa_x11_kill_cb_t ki…
/third_party/glib/gio/tests/
Dsocket-listener.c23 event_cb (GSocketListener *listener, in event_cb() function
67 g_signal_connect (listener, "event", G_CALLBACK (event_cb), &success); in test_event_signal()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
937 if (global->event_cb == NULL) in gnutls_tls_fail_event()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1298 if (conn->global->event_cb) { in tls_connection_verify_peer()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1407 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1488 if (conn->global->event_cb) { in tls_connection_handshake()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
[all …]
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_wolfssl.c55 void (*event_cb)(void *ctx, enum tls_event ev, member
107 context->event_cb = conf->event_cb; in tls_context_new()
836 if (!context->event_cb) in wolfssl_tls_fail_event()
847 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in wolfssl_tls_fail_event()
868 if (!context->event_cb) in wolfssl_tls_cert_event()
937 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in wolfssl_tls_cert_event()
1126 if (depth == 0 && preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1127 context->event_cb(context->cb_ctx, in tls_verify_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
937 if (global->event_cb == NULL) in gnutls_tls_fail_event()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1298 if (conn->global->event_cb) { in tls_connection_verify_peer()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1407 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1488 if (conn->global->event_cb) { in tls_connection_handshake()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
[all …]
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_wolfssl.c55 void (*event_cb)(void *ctx, enum tls_event ev, member
107 context->event_cb = conf->event_cb; in tls_context_new()
836 if (!context->event_cb) in wolfssl_tls_fail_event()
847 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in wolfssl_tls_fail_event()
868 if (!context->event_cb) in wolfssl_tls_cert_event()
937 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in wolfssl_tls_cert_event()
1126 if (depth == 0 && preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1127 context->event_cb(context->cb_ctx, in tls_verify_cb()
/third_party/glib/gio/inotify/
Dinotify-path.h27 gboolean _ip_startup (gboolean (*event_cb)(ik_event_t *event, inotify_sub *sub, gboolean file_e…
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h56 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.c862 void (*event_cb)(void *ctx, enum tls_event ev, in tlsv1_client_set_cb()
867 conn->event_cb = event_cb; in tlsv1_client_set_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h56 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.c862 void (*event_cb)(void *ctx, enum tls_event ev, in tlsv1_client_set_cb()
867 conn->event_cb = event_cb; in tlsv1_client_set_cb()
/third_party/curl/docs/examples/
Dghiper.c178 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.c194 static void event_cb(int fd, short kind, void *userp) in event_cb() function
260 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
Devhiperfifo.c200 static void event_cb(EV_P_ struct ev_io *w, int revents) in event_cb() function
258 ev_io_init(&f->ev, event_cb, f->sockfd, kind); in setsock()
Dephiperfifo.c199 static void event_cb(GlobalInfo *g, int fd, int revents) in event_cb() function
536 event_cb(&g, events[idx].data.fd, events[idx].events); in main()

12