Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/master/auth-process.h @ 10:82b7de533f98 HEAD
s/user_data/context/ and some s/Data/Context/
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 22 Aug 2002 15:48:38 +0300 |
parents | 3b1985cbc908 |
children | 90a65c017bf0 |
comparison
equal
deleted
inserted
replaced
9:21c8e080150d | 10:82b7de533f98 |
---|---|
1 #ifndef __AUTH_PROCESS_H | 1 #ifndef __AUTH_PROCESS_H |
2 #define __AUTH_PROCESS_H | 2 #define __AUTH_PROCESS_H |
3 | 3 |
4 /* cookie_reply is NULL if some error occured */ | 4 /* cookie_reply is NULL if some error occured */ |
5 typedef void (*AuthCallback)(AuthCookieReplyData *cookie_reply, | 5 typedef void (*AuthCallback)(AuthCookieReplyData *cookie_reply, |
6 void *user_data); | 6 void *context); |
7 | 7 |
8 typedef struct _AuthProcess AuthProcess; | 8 typedef struct _AuthProcess AuthProcess; |
9 | 9 |
10 /* Find process for given id */ | 10 /* Find process for given id */ |
11 AuthProcess *auth_process_find(int id); | 11 AuthProcess *auth_process_find(int id); |
12 | 12 |
13 /* Request information about given cookie */ | 13 /* Request information about given cookie */ |
14 void auth_process_request(AuthProcess *process, int id, | 14 void auth_process_request(AuthProcess *process, int id, |
15 unsigned char cookie[AUTH_COOKIE_SIZE], | 15 unsigned char cookie[AUTH_COOKIE_SIZE], |
16 AuthCallback callback, void *user_data); | 16 AuthCallback callback, void *context); |
17 | 17 |
18 /* Close any fds used by auth processes */ | 18 /* Close any fds used by auth processes */ |
19 void auth_processes_cleanup(void); | 19 void auth_processes_cleanup(void); |
20 | 20 |
21 void auth_processes_init(void); | 21 void auth_processes_init(void); |