view src/auth/mycrypt.h @ 22633:9284bdc3c5c5

director: Don't recreate timeout on every user lookup Recreate it only when the timeout should change.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:34:02 +0200
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef MYCRYPT_H
#define MYCRYPT_H

/* A simple wrapper to crypt(). Problem with it is that it requires
   _XOPEN_SOURCE define which breaks other things. */
char *mycrypt(const char *key, const char *salt);

#endif