summaryrefslogtreecommitdiff
path: root/src/libmowgli/ext/proctitle.h
blob: cee99f03c7b9873efcf5e7b0992f4c1aff282b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*-------------------------------------------------------------------------
 *
 * ps_status.h
 *
 * Declarations for backend/utils/misc/ps_status.c
 *
 * src/include/utils/ps_status.h
 *
 ***-------------------------------------------------------------------------
 */

#ifndef __PS_STATUS_H__
#define __PS_STATUS_H__

extern bool mowgli_proctitle_update;

extern char **mowgli_argv;
extern int mowgli_argc;

extern char **mowgli_proctitle_init(int argc, char **argv);

extern void mowgli_proctitle_set(const char *fmt, ...);

extern const char *mowgli_proctitle_get(int *displen);

#endif /* __PS_STATUS_H__ */