view src/login/master.h @ 91:dc0891523276 HEAD

bugfix for sync fix
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Aug 2002 01:42:00 +0300
parents 82b7de533f98
children ab3590c3a7d9
line wrap: on
line source

#ifndef __MASTER_H
#define __MASTER_H

#include "../master/master-interface.h"

typedef void (*MasterCallback)(MasterReplyResult result, void *context);

/* Request IMAP process for given cookie. */
void master_request_imap(int fd, int auth_process, const char *login_tag,
			 unsigned char cookie[AUTH_COOKIE_SIZE],
			 MasterCallback callback, void *context);

void master_init(void);
void master_deinit(void);

#endif