Cross Reference: login-connection.h
xref
: /
dovecot
/
src
/
director
/
login-connection.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
#
ifndef
LOGIN_CONNECTION_H
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
#
define
LOGIN_CONNECTION_H
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
struct
director
;
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
enum
login_connection_type
{
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
LOGIN_CONNECTION_TYPE_AUTH
,
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
LOGIN_CONNECTION_TYPE_USERDB
,
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
LOGIN_CONNECTION_TYPE_AUTHREPLY
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
};
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
struct
login_connection
*
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
login_connection_init
(
struct
director
*
dir
,
int
fd
,
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
struct
auth_connection
*
auth
,
db3b95d5a33ddce552d41136ae68d7331f8bf5fe
Timo Sirainen
enum
login_connection_type
type
);
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
void
login_connection_deinit
(
struct
login_connection
**
conn
);
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
void
login_connections_deinit
(
void
);
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb
Timo Sirainen
#
endif