Lines 16-28
Link Here
|
16 |
*/ |
16 |
*/ |
17 |
#if defined(USE_SASL_AUTH) && defined(USE_CYRUS_SASL) |
17 |
#if defined(USE_SASL_AUTH) && defined(USE_CYRUS_SASL) |
18 |
|
18 |
|
|
|
19 |
#include <sasl.h> |
20 |
|
19 |
#define NO_SASL_LANGLIST ((const char *) 0) |
21 |
#define NO_SASL_LANGLIST ((const char *) 0) |
20 |
#define NO_SASL_OUTLANG ((const char **) 0) |
22 |
#define NO_SASL_OUTLANG ((const char **) 0) |
21 |
#define xsasl_cyrus_strerror(status) \ |
23 |
#define xsasl_cyrus_strerror(status) \ |
22 |
sasl_errstring((status), NO_SASL_LANGLIST, NO_SASL_OUTLANG) |
24 |
sasl_errstring((status), NO_SASL_LANGLIST, NO_SASL_OUTLANG) |
23 |
extern int xsasl_cyrus_log(void *, int, const char *); |
25 |
extern int xsasl_cyrus_log(void *, int, const char *); |
24 |
extern int xsasl_cyrus_security_parse_opts(const char *); |
26 |
extern int xsasl_cyrus_security_parse_opts(const char *); |
|
|
27 |
#ifdef SASL_CB_GETCONFPATH |
25 |
extern int xsasl_getconfpath(void *, char **); |
28 |
extern int xsasl_getconfpath(void *, char **); |
|
|
29 |
#endif |
26 |
|
30 |
|
27 |
#endif |
31 |
#endif |
28 |
|
32 |
|