const char **error_r)
{
struct oauthbearer_dsasl_client *client =
- (struct oauthbearer_dsasl_client *)_client;
+ container_of(_client, struct oauthbearer_dsasl_client, client);
if (!client->output_sent) {
if (input_len > 0) {
const char **error_r)
{
struct oauthbearer_dsasl_client *client =
- (struct oauthbearer_dsasl_client *)_client;
+ container_of(_client, struct oauthbearer_dsasl_client, client);
string_t *str;
if (_client->set.authid == NULL) {
const char *value, const char **error_r)
{
struct oauthbearer_dsasl_client *client =
- (struct oauthbearer_dsasl_client *)_client;
+ container_of(_client, struct oauthbearer_dsasl_client, client);
if (strcmp(key, "host") == 0) {
if (value != NULL)
const char **error_r ATTR_UNUSED)
{
struct oauthbearer_dsasl_client *client =
- (struct oauthbearer_dsasl_client *)_client;
+ container_of(_client, struct oauthbearer_dsasl_client, client);
if (strcmp(key, "status") == 0) {
/* this is set to value after login attempt */