aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-02-21 18:44:52 -0500
committerIan Moffett <ian@osmora.org>2025-02-21 18:44:52 -0500
commit2f3eb353c1ace52755c7aeb27bc66250f8925259 (patch)
tree4e77cc515e8a0ebe3e95d1e0468700a9fd9ce4cb
parent9c97692f2f241cab7805dcf54f60dd2009d553b8 (diff)
auth: Add on_connect() callback
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--lib/include/server.h1
1 files changed, 1 insertions, 0 deletions
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 -- */