NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
sasl.h
Go to the documentation of this file.
1
23#ifndef MUTT_CONN_SASL_H
24#define MUTT_CONN_SASL_H
25
26#include <sasl/sasl.h>
27#include <stdbool.h>
28
29struct Connection;
30
31bool sasl_auth_validator(const char *authenticator);
32
33int mutt_sasl_client_new(struct Connection *conn, sasl_conn_t **saslconn);
34void mutt_sasl_cleanup (void);
35int mutt_sasl_interact (sasl_interact_t *interaction);
36void mutt_sasl_setup_conn(struct Connection *conn, sasl_conn_t *saslconn);
37int mutt_sasl_start (void);
38
39#endif /* MUTT_CONN_SASL_H */
void mutt_sasl_cleanup(void)
Invoke when processing is complete.
Definition: sasl.c:786
int mutt_sasl_start(void)
Initialise SASL library.
Definition: sasl.c:277
int mutt_sasl_interact(sasl_interact_t *interaction)
Perform an SASL interaction with the user.
Definition: sasl.c:704
bool sasl_auth_validator(const char *authenticator)
Validate an auth method against Cyrus SASL methods.
Definition: sasl.c:136
int mutt_sasl_client_new(struct Connection *conn, sasl_conn_t **saslconn)
Wrapper for sasl_client_new()
Definition: sasl.c:606
void mutt_sasl_setup_conn(struct Connection *conn, sasl_conn_t *saslconn)
Set up an SASL connection.
Definition: sasl.c:741