view src/lib/process-title.h @ 23017:c1d36f2575c7 default tip

lib-imap: Fix "Don't accept strings with NULs" cherry-pick
author Timo Sirainen <timo.sirainen@open-xchange.com>
date Thu, 29 Aug 2019 09:55:25 +0300
parents 32aba99c2e4f
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