/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "dsasl-client-private.h"
enum login_state {
STATE_INIT = 0,
};
struct login_dsasl_client {
};
static int
const unsigned char *input ATTR_UNUSED,
const char **error_r)
{
(struct login_dsasl_client *)_client;
*error_r = "Server didn't finish authentication";
return -1;
}
return 0;
}
static int
const char **error_r)
{
(struct login_dsasl_client *)_client;
*error_r = "authid not set";
return -1;
}
*error_r = "password not set";
return -1;
}
case STATE_INIT:
*output_len_r = 0;
return 0;
case STATE_USER:
return 0;
case STATE_PASS:
return 0;
}
i_unreached();
}
.name = "LOGIN",
.struct_size = sizeof(struct login_dsasl_client),
};