From 2f3eb353c1ace52755c7aeb27bc66250f8925259 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 21 Feb 2025 18:44:52 -0500 Subject: auth: Add on_connect() callback Signed-off-by: Ian Moffett --- lib/include/server.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/include/server.h b/lib/include/server.h index 1c23f61..c8eff9c 100644 --- a/lib/include/server.h +++ b/lib/include/server.h @@ -47,6 +47,7 @@ struct ostp_client { struct ostp_listener { int(*on_recv)(struct ostp_client *c, const void *buf, size_t len); + int(*on_connect)(struct ostp_client *c); int port; /* -- Private -- */ -- cgit v1.2.3