Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/master/login-process.h @ 8971:163c3f85a3aa HEAD
namespaces: list=children wasn't working correctly.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 20 Apr 2009 13:28:00 -0400 |
parents | ca964325664e |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
5843
diff
changeset
|
1 #ifndef LOGIN_PROCESS_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
5843
diff
changeset
|
2 #define LOGIN_PROCESS_H |
0 | 3 |
5843
f655c4d4a419
Moved child process handling to child-process.[ch]. The hash table now uses
Timo Sirainen <tss@iki.fi>
parents:
4670
diff
changeset
|
4 #include "child-process.h" |
f655c4d4a419
Moved child process handling to child-process.[ch]. The hash table now uses
Timo Sirainen <tss@iki.fi>
parents:
4670
diff
changeset
|
5 |
1610
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
6 struct login_group { |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
7 struct login_group *next; |
4631
f5d53a684856
SIGHUP caused memory corruption
Timo Sirainen <tss@iki.fi>
parents:
4538
diff
changeset
|
8 int refcount; |
1610
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
9 |
5843
f655c4d4a419
Moved child process handling to child-process.[ch]. The hash table now uses
Timo Sirainen <tss@iki.fi>
parents:
4670
diff
changeset
|
10 enum process_type mail_process_type; |
1610
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
11 struct settings *set; |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
12 |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
13 unsigned int processes; |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
14 unsigned int listening_processes; |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
15 unsigned int wanted_processes_count; |
8666
ca964325664e
If all login processes are in use and we can't create a new one, log a warning.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
16 time_t last_limit_warning; |
1610
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
17 |
4538
9d9e72374164
Fixes to login process handling, especially with
Timo Sirainen <tss@iki.fi>
parents:
2057
diff
changeset
|
18 /* if login_process_per_connection=yes this contains the list of |
9d9e72374164
Fixes to login process handling, especially with
Timo Sirainen <tss@iki.fi>
parents:
2057
diff
changeset
|
19 processes that are in LOGIN_STATE_FULL_PRELOGINS state */ |
9d9e72374164
Fixes to login process handling, especially with
Timo Sirainen <tss@iki.fi>
parents:
2057
diff
changeset
|
20 struct login_process *oldest_prelogin_process; |
9d9e72374164
Fixes to login process handling, especially with
Timo Sirainen <tss@iki.fi>
parents:
2057
diff
changeset
|
21 struct login_process *newest_prelogin_process; |
1610
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
22 }; |
6850142c4e25
New configuration file code. Some syntax changes, but tries to be somewhat
Timo Sirainen <tss@iki.fi>
parents:
1035
diff
changeset
|
23 |
4670 | 24 void login_processes_destroy_all(void); |
0 | 25 |
26 void login_processes_init(void); | |
27 void login_processes_deinit(void); | |
28 | |
29 #endif |