view src/director/director-request.h @ 11321:5f350b5ff6d9 HEAD

Added initial implementation of a director process (for NFS users). There are still some unimplemented features and bugs. Also changing mail server list doesn't yet make sure that other directors won't assign the same user to a different server at the same time.
author Timo Sirainen <tss@iki.fi>
date Wed, 19 May 2010 09:56:49 +0200
parents
children c70965e8b27d
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, void *context);

void director_request(struct director *dir, const char *username,
		      director_request_callback *callback, void *context);
bool director_request_continue(struct director_request *request);

#endif