From f7548d6d28c313cf80e6f3ef89aed16a19815df1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:51:24 +0200 Subject: Adding upstream version 1:2.3.19.1+dfsg1. Signed-off-by: Daniel Baumann --- src/director/login-connection.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/director/login-connection.h (limited to 'src/director/login-connection.h') diff --git a/src/director/login-connection.h b/src/director/login-connection.h new file mode 100644 index 0000000..f977ec6 --- /dev/null +++ b/src/director/login-connection.h @@ -0,0 +1,20 @@ +#ifndef LOGIN_CONNECTION_H +#define LOGIN_CONNECTION_H + +struct director; + +enum login_connection_type { + LOGIN_CONNECTION_TYPE_AUTH, + LOGIN_CONNECTION_TYPE_USERDB, + LOGIN_CONNECTION_TYPE_AUTHREPLY +}; + +struct login_connection * +login_connection_init(struct director *dir, int fd, + struct auth_connection *auth, + enum login_connection_type type); +void login_connection_deinit(struct login_connection **conn); + +void login_connections_deinit(void); + +#endif -- cgit v1.2.3