Mercurial > dovecot > core-2.2
annotate src/lib/process-title.h @ 22955:812e5c961328
fts: Indexing virtual mailbox didn't always index the last mails
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 03 May 2018 18:33:00 +0300 |
parents | 32aba99c2e4f |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
745
diff
changeset
|
1 #ifndef PROCESS_TITLE_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
745
diff
changeset
|
2 #define PROCESS_TITLE_H |
745
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 /* Initialize title changing. */ |
10188
affb52c62add
Fixed Linux proctitle hack and enabled it by default now.
Timo Sirainen <tss@iki.fi>
parents:
10120
diff
changeset
|
5 void process_title_init(char **argv[]); |
745
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 |
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 /* Change the process title if possible. */ |
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 void process_title_set(const char *title); |
10431
32aba99c2e4f
process title hack: Free allocated memory at deinit.
Timo Sirainen <tss@iki.fi>
parents:
10188
diff
changeset
|
9 /* Free all memory used by process title hacks. This should be the last |
32aba99c2e4f
process title hack: Free allocated memory at deinit.
Timo Sirainen <tss@iki.fi>
parents:
10188
diff
changeset
|
10 function called by the process, since it frees argv and environment. */ |
32aba99c2e4f
process title hack: Free allocated memory at deinit.
Timo Sirainen <tss@iki.fi>
parents:
10188
diff
changeset
|
11 void process_title_deinit(void); |
745
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
12 |
32040b730b37
Login process now changes it's name if verbose_proctitle = yes, and we're
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
13 #endif |