summaryrefslogtreecommitdiffstats
path: root/src/director/director-request.h
blob: e6fff802df2129670735ea6346d9a34b3df97b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DIRECTOR_REQUEST_H
#define DIRECTOR_REQUEST_H

struct director;
struct director_request;

typedef void
director_request_callback(const struct mail_host *host, 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