aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_server.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-03-01 22:07:50 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-09 16:21:13 (GMT)
commit994afe3390695400ea63df5533c1dd9d8c2ccbd4 (patch)
tree2f771a2376fa2246a083bd9e3132e710321a2889 /src/tls/tlsv1_server.h
parent01f7fe10ef4b39e056ebc4d0756129919fb7eb53 (diff)
downloadhostap-994afe3390695400ea63df5533c1dd9d8c2ccbd4.zip
hostap-994afe3390695400ea63df5533c1dd9d8c2ccbd4.tar.gz
hostap-994afe3390695400ea63df5533c1dd9d8c2ccbd4.tar.bz2
RADIUS server: Allow TLS implementation add log entries
This allows the internal TLS implementation to write log entries to the same authlog with rest of the RADIUS server and EAP server functionality. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/tls/tlsv1_server.h')
-rw-r--r--src/tls/tlsv1_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tls/tlsv1_server.h b/src/tls/tlsv1_server.h
index a18c69e..b20ff1a 100644
--- a/src/tls/tlsv1_server.h
+++ b/src/tls/tlsv1_server.h
@@ -45,4 +45,7 @@ void tlsv1_server_set_session_ticket_cb(struct tlsv1_server *conn,
tlsv1_server_session_ticket_cb cb,
void *ctx);
+void tlsv1_server_set_log_cb(struct tlsv1_server *conn,
+ void (*cb)(void *ctx, const char *msg), void *ctx);
+
#endif /* TLSV1_SERVER_H */