NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
gsasl2.h
Go to the documentation of this file.
1
23#ifndef MUTT_CONN_GSASL2_H
24#define MUTT_CONN_GSASL2_H
25
26#include <gsasl.h>
27
28struct Connection;
29
30void mutt_gsasl_client_finish(Gsasl_session **sctx);
31int mutt_gsasl_client_new (struct Connection *conn, const char *mech, Gsasl_session **sctx);
32void mutt_gsasl_cleanup (void);
33const char *mutt_gsasl_get_mech (const char *requested_mech, const char *server_mechlist);
34
35#endif /* MUTT_CONN_GSASL2_H */
const char * mutt_gsasl_get_mech(const char *requested_mech, const char *server_mechlist)
Pick a connection mechanism.
Definition: gsasl.c:164
int mutt_gsasl_client_new(struct Connection *conn, const char *mech, Gsasl_session **sctx)
Create a new GNU SASL client.
Definition: gsasl.c:199
void mutt_gsasl_cleanup(void)
Shutdown GNU SASL library.
Definition: gsasl.c:149
void mutt_gsasl_client_finish(Gsasl_session **sctx)
Free a GNU SASL client.
Definition: gsasl.c:220