Mercurial > dovecot > original-hg > dovecot-1.2
annotate 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 |
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); | |
20 | |
21 void auth_processes_init(void); | |
22 void auth_processes_deinit(void); | |
23 | |
24 #endif |