Mercurial > dovecot > core-2.2
view src/director/director-request.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 | 7f718c840aff |
children | 2ed6735ffc7a |
line wrap: on
line source
#ifndef DIRECTOR_REQUEST_H #define DIRECTOR_REQUEST_H struct director; struct director_request; typedef void director_request_callback(const struct ip_addr *ip, const char *hostname, const char *errormsg, void *context); void director_request(struct director *dir, const char *username, const char *tag, director_request_callback *callback, void *context); bool director_request_continue(struct director_request *request); #endif