aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_auth/eapol_auth_sm.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-02 15:37:21 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-02 15:37:21 (GMT)
commit96ea74b866417ee5d185595c572d2282c10037c3 (patch)
treec0e65f3f31d25b1e807934df9199cadf475583da /src/eapol_auth/eapol_auth_sm.h
parentca3b71c14fb5df0ed8b929a41d037aea4e4a98d4 (diff)
downloadhostap-96ea74b866417ee5d185595c572d2282c10037c3.zip
hostap-96ea74b866417ee5d185595c572d2282c10037c3.tar.gz
hostap-96ea74b866417ee5d185595c572d2282c10037c3.tar.bz2
Convert EAPOL authenticator dump into easier to parse format
Use name=value entries one per each line and rename the state entries to have unique names. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eapol_auth/eapol_auth_sm.h')
-rw-r--r--src/eapol_auth/eapol_auth_sm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eapol_auth/eapol_auth_sm.h b/src/eapol_auth/eapol_auth_sm.h
index 3a0f450..f0ff464 100644
--- a/src/eapol_auth/eapol_auth_sm.h
+++ b/src/eapol_auth/eapol_auth_sm.h
@@ -83,8 +83,8 @@ eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
const char *identity, const char *radius_cui);
void eapol_auth_free(struct eapol_state_machine *sm);
void eapol_auth_step(struct eapol_state_machine *sm);
-void eapol_auth_dump_state(FILE *f, const char *prefix,
- struct eapol_state_machine *sm);
+int eapol_auth_dump_state(struct eapol_state_machine *sm, char *buf,
+ size_t buflen);
int eapol_auth_eap_pending_cb(struct eapol_state_machine *sm, void *ctx);
#endif /* EAPOL_AUTH_SM_H */