blob: e3a9e593ee90433c4f8dc01f2b9e9c3ae2827dfb (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef MAIL_USER_HASH
#define MAIL_USER_HASH
/* Get a hash for username, based on given format. The format can use
%n, %d and %u variables. The returned hash is never 0.
Returns TRUE if ok, FALSE if format is invalid. */
bool mail_user_hash(const char *username, const char *format,
unsigned int *hash_r, const char **error_r);
#endif
|