view src/master/auth-process.h @ 100:867ec80dbf42 HEAD

Custom flags are now shown in FLAGS and PERMANENTFLAGS lists after SELECT. It also warns if there's for some reason a duplicate index number in custom flags file.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Aug 2002 22:21:51 +0300
parents 82b7de533f98
children 90a65c017bf0
line wrap: on
line source

#ifndef __AUTH_PROCESS_H
#define __AUTH_PROCESS_H

/* cookie_reply is NULL if some error occured */
typedef void (*AuthCallback)(AuthCookieReplyData *cookie_reply,
			     void *context);

typedef struct _AuthProcess AuthProcess;

/* Find process for given id */
AuthProcess *auth_process_find(int id);

/* Request information about given cookie */
void auth_process_request(AuthProcess *process, int id,
			  unsigned char cookie[AUTH_COOKIE_SIZE],
			  AuthCallback callback, void *context);

/* Close any fds used by auth processes */
void auth_processes_cleanup(void);

void auth_processes_init(void);
void auth_processes_deinit(void);

#endif