Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/master/auth-process.h @ 635:90a65c017bf0 HEAD
SIGHUP reloads now settings. Logged in clients are left untouched, but
clients still logging in are killed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 20 Nov 2002 21:20:23 +0200 |
parents | 82b7de533f98 |
children | 8dd8ebe6bcac |
rev | line source |
---|---|
0 | 1 #ifndef __AUTH_PROCESS_H |
2 #define __AUTH_PROCESS_H | |
3 | |
4 /* cookie_reply is NULL if some error occured */ | |
5 typedef void (*AuthCallback)(AuthCookieReplyData *cookie_reply, | |
10
82b7de533f98
s/user_data/context/ and some s/Data/Context/
Timo Sirainen <tss@iki.fi>
parents:
0
diff
changeset
|
6 void *context); |
0 | 7 |
8 typedef struct _AuthProcess AuthProcess; | |
9 | |
10 /* Find process for given id */ | |
11 AuthProcess *auth_process_find(int id); | |
12 | |
13 /* Request information about given cookie */ | |
14 void auth_process_request(AuthProcess *process, int id, | |
15 unsigned char cookie[AUTH_COOKIE_SIZE], | |
10
82b7de533f98
s/user_data/context/ and some s/Data/Context/
Timo Sirainen <tss@iki.fi>
parents:
0
diff
changeset
|
16 AuthCallback callback, void *context); |
0 | 17 |
18 /* Close any fds used by auth processes */ | |
19 void auth_processes_cleanup(void); | |
635
90a65c017bf0
SIGHUP reloads now settings. Logged in clients are left untouched, but
Timo Sirainen <tss@iki.fi>
parents:
10
diff
changeset
|
20 void auth_processes_destroy_all(void); |
0 | 21 |
22 void auth_processes_init(void); | |
23 void auth_processes_deinit(void); | |
24 | |
25 #endif |