| Server IP : 176.32.38.42 / Your IP : 216.73.216.244 Web Server : LiteSpeed System : Linux ha006.mymail.zone 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64 User : s1225329 ( 1835) PHP Version : 7.4.33 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/usr/include/dovecot/ |
Upload File : |
#ifndef DSASL_CLIENT_PRIVATE_H
#define DSASL_CLIENT_PRIVATE_H
#include "dsasl-client.h"
enum dsasl_mech_security_flags {
DSASL_MECH_SEC_ALLOW_NULS = 0x0001,
};
struct dsasl_client {
pool_t pool;
struct dsasl_client_settings set;
char *password;
const struct dsasl_client_mech *mech;
};
struct dsasl_client_mech {
const char *name;
size_t struct_size;
enum dsasl_mech_security_flags flags;
int (*input)(struct dsasl_client *client,
const unsigned char *input, size_t input_len,
const char **error_r);
int (*output)(struct dsasl_client *client,
const unsigned char **output_r, size_t *output_len_r,
const char **error_r);
int (*set_parameter)(struct dsasl_client *client,
const char *key, const char *value,
const char **error_r);
int (*get_result)(struct dsasl_client *client,
const char *key, const char **value_r,
const char **error_r);
void (*free)(struct dsasl_client *client);
};
extern const struct dsasl_client_mech dsasl_client_mech_external;
extern const struct dsasl_client_mech dsasl_client_mech_login;
extern const struct dsasl_client_mech dsasl_client_mech_oauthbearer;
extern const struct dsasl_client_mech dsasl_client_mech_xoauth2;
void dsasl_client_mech_register(const struct dsasl_client_mech *mech);
void dsasl_client_mech_unregister(const struct dsasl_client_mech *mech);
#endif