Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/master/auth-process.h @ 9490:fd84592e817b HEAD
dovecot-example.conf: Updated dict comments.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 23 Nov 2009 13:08:47 -0500 |
parents | e4eb71ae8e96 |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
5136
diff
changeset
|
1 #ifndef AUTH_PROCESS_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
5136
diff
changeset
|
2 #define AUTH_PROCESS_H |
0 | 3 |
4907
5b4c9b20eba0
Replaced void *context from a lot of callbacks with the actual context
Timo Sirainen <tss@iki.fi>
parents:
2736
diff
changeset
|
4 struct login_auth_request; |
5b4c9b20eba0
Replaced void *context from a lot of callbacks with the actual context
Timo Sirainen <tss@iki.fi>
parents:
2736
diff
changeset
|
5 |
5136
86625faa49b5
Start auth processes immediately at startup, not after one second delay.
Timo Sirainen <tss@iki.fi>
parents:
4907
diff
changeset
|
6 extern bool have_initialized_auth_processes; |
86625faa49b5
Start auth processes immediately at startup, not after one second delay.
Timo Sirainen <tss@iki.fi>
parents:
4907
diff
changeset
|
7 |
2736
0f31778d3c34
Changed dovecot-auth protocol to ASCII based. Should be easier now to write
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
8 void auth_master_callback(const char *user, const char *const *args, |
4907
5b4c9b20eba0
Replaced void *context from a lot of callbacks with the actual context
Timo Sirainen <tss@iki.fi>
parents:
2736
diff
changeset
|
9 struct login_auth_request *request); |
0 | 10 |
11 /* Find process for given id */ | |
1035
fe49ece0f3ea
We have now separate "userdb" and "passdb". They aren't tied to each others
Timo Sirainen <tss@iki.fi>
parents:
953
diff
changeset
|
12 struct auth_process *auth_process_find(unsigned int pid); |
0 | 13 |
14 /* Request information about given cookie */ | |
1035
fe49ece0f3ea
We have now separate "userdb" and "passdb". They aren't tied to each others
Timo Sirainen <tss@iki.fi>
parents:
953
diff
changeset
|
15 void auth_process_request(struct auth_process *process, unsigned int login_pid, |
4907
5b4c9b20eba0
Replaced void *context from a lot of callbacks with the actual context
Timo Sirainen <tss@iki.fi>
parents:
2736
diff
changeset
|
16 unsigned int login_id, |
5b4c9b20eba0
Replaced void *context from a lot of callbacks with the actual context
Timo Sirainen <tss@iki.fi>
parents:
2736
diff
changeset
|
17 struct login_auth_request *request); |
0 | 18 |
19 /* Close any fds used by auth processes */ | |
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 |