1 #ifndef PROCESS_TITLE_H
2 #define PROCESS_TITLE_H
3 
4 /* Initialize title changing. */
5 void process_title_init(int argc, char **argv[]);
6 
7 /* Change the process title if possible. */
8 void process_title_set(const char *title);
9 /* Return the previously set process title. NULL means that it's either not
10    set, or the title was explicitly set to NULL previously. */
11 const char *process_title_get(void);
12 
13 /* Free all memory used by process title hacks. This should be the last
14    function called by the process, since it frees argv and environment. */
15 void process_title_deinit(void);
16 
17 #endif
18