Mercurial > dovecot > core-2.2
view src/lib/process-title.h @ 10431:32aba99c2e4f HEAD
process title hack: Free allocated memory at deinit.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 08 Dec 2009 15:19:31 -0500 |
parents | affb52c62add |
children |
line wrap: on
line source
#ifndef PROCESS_TITLE_H #define PROCESS_TITLE_H /* Initialize title changing. */ void process_title_init(char **argv[]); /* Change the process title if possible. */ void process_title_set(const char *title); /* Free all memory used by process title hacks. This should be the last function called by the process, since it frees argv and environment. */ void process_title_deinit(void); #endif