aboutsummaryrefslogtreecommitdiff
path: root/src/eapol_supp/eapol_supp_sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eapol_supp/eapol_supp_sm.h')
-rw-r--r--src/eapol_supp/eapol_supp_sm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.h b/src/eapol_supp/eapol_supp_sm.h
index 753b947a..630a38e8 100644
--- a/src/eapol_supp/eapol_supp_sm.h
+++ b/src/eapol_supp/eapol_supp_sm.h
@@ -307,6 +307,20 @@ struct eapol_ctx {
* Automatically triggers a reconnect when not.
*/
int (*confirm_auth_cb)(void *ctx);
+
+ /**
+ * eap_method_selected_cb - Notification of EAP method selection
+ * @ctx: eapol_ctx from eap_peer_sm_init() call
+ * @reason_string: Information to log about the event
+ */
+ void (*eap_method_selected_cb)(void *ctx, const char* reason_string);
+
+ /**
+ * open_ssl_failure_cb - Notification of an OpenSSL failure
+ * @ctx: eapol_ctx from eap_peer_sm_init() call
+ * @reason_string: Information to log about the event
+ */
+ void (*open_ssl_failure_cb)(void *ctx, const char* reason_string);
};