Mercurial > dovecot > core-2.2
view src/master/auth-process.h @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | 30f6811f4952 |
children | 411006be3c66 |
line wrap: on
line source
#ifndef __AUTH_PROCESS_H #define __AUTH_PROCESS_H /* cookie_reply is NULL if some error occured */ typedef void (*AuthCallback)(struct auth_cookie_reply_data *cookie_reply, void *context); /* Find process for given id */ struct auth_process *auth_process_find(unsigned int id); /* Request information about given cookie */ void auth_process_request(unsigned int login_pid, struct auth_process *process, unsigned int id, unsigned char cookie[AUTH_COOKIE_SIZE], AuthCallback callback, void *context); /* Close any fds used by auth processes */ void auth_processes_destroy_all(void); void auth_processes_init(void); void auth_processes_deinit(void); #endif