sasl.h | sasl.h | |||
---|---|---|---|---|
skipping to change at line 92 | skipping to change at line 92 | |||
* 7. call sasl_dispose(), may return to step 2 | * 7. call sasl_dispose(), may return to step 2 | |||
* 8. call sasl_done() when program terminates | * 8. call sasl_done() when program terminates | |||
* | * | |||
*/ | */ | |||
#ifndef SASL_H | #ifndef SASL_H | |||
#define SASL_H 1 | #define SASL_H 1 | |||
#define SASL_VERSION_MAJOR 1 | #define SASL_VERSION_MAJOR 1 | |||
#define SASL_VERSION_MINOR 5 | #define SASL_VERSION_MINOR 5 | |||
#define SASL_VERSION_STEP 16 | #define SASL_VERSION_STEP 20 | |||
/* The following ifdef block is the standard way of creating macros | /* The following ifdef block is the standard way of creating macros | |||
* which make exporting from a DLL simpler. All files within this DLL | * which make exporting from a DLL simpler. All files within this DLL | |||
* are compiled with the LIBSASL_EXPORTS symbol defined on the command | * are compiled with the LIBSASL_EXPORTS symbol defined on the command | |||
* line. this symbol should not be defined on any project that uses | * line. this symbol should not be defined on any project that uses | |||
* this DLL. This way any other project whose source files include | * this DLL. This way any other project whose source files include | |||
* this file see LIBSASL_API functions as being imported from a DLL, | * this file see LIBSASL_API functions as being imported from a DLL, | |||
* wheras this DLL sees symbols defined with this macro as being | * wheras this DLL sees symbols defined with this macro as being | |||
* exported. */ | * exported. */ | |||
/* Under Unix, life is simpler: we just need to mark library functions | /* Under Unix, life is simpler: we just need to mark library functions | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
saslplug.h | saslplug.h | |||
---|---|---|---|---|
skipping to change at line 108 | skipping to change at line 108 | |||
/* mechanism utility functions (same as above): */ | /* mechanism utility functions (same as above): */ | |||
int (*mkchal)(sasl_conn_t *conn, char *buf, unsigned maxlen, int hostfl ag); | int (*mkchal)(sasl_conn_t *conn, char *buf, unsigned maxlen, int hostfl ag); | |||
int (*utf8verify)(const char *str, unsigned len); | int (*utf8verify)(const char *str, unsigned len); | |||
void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); | void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); | |||
void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len); | void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len); | |||
/* current CMU hack. DO NOT USE EXCEPT IN PLAIN */ | /* current CMU hack. DO NOT USE EXCEPT IN PLAIN */ | |||
int (*checkpass)(sasl_conn_t *conn, | int (*checkpass)(sasl_conn_t *conn, | |||
const char *mech, const char *service, | const char *mech, const char *service, | |||
const char *user, const char *pass); | const char *user, const char *pass, | |||
const char **errstr); | ||||
/* callback function */ | /* callback function */ | |||
sasl_getcallback_t *getcallback; | sasl_getcallback_t *getcallback; | |||
/* logging */ | /* logging */ | |||
int (*log)(sasl_conn_t *conn, | int (*log)(sasl_conn_t *conn, | |||
int priority, | int priority, | |||
const char *plugin_name, | const char *plugin_name, | |||
int sasl_error, /* %z */ | int sasl_error, /* %z */ | |||
int errno, /* %m */ | int errno, /* %m */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||