auth-request-var-expand.c revision 4b7957c5e995f2c1820891d77a292a4886d52a43
/* Copyright (c) 2002-2015 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "strescape.h"
#include "auth-request.h"
const struct var_expand_table
/* be sure to update AUTH_REQUEST_VAR_TAB_COUNT */
};
static const char *
escape_none(const char *string,
{
return string;
}
const char *
auth_request_str_escape(const char *string,
{
return str_escape(string);
}
struct var_expand_table *
unsigned int *count)
{
const unsigned int auth_count =
const char *orig_user;
if (escape_func == NULL)
/* keep the extra fields at the beginning. the last static_tab field
contains the ending NULL-fields. */
*count += auth_count;
auth_count * sizeof(*tab));
/* tab[4] = we have no home dir */
}
if (auth_request->userdb_lookup) {
} else {
}
}
}
}
return ret_tab;
}
const struct var_expand_table *
{
unsigned int count = 0;
&count);
}