| 1 |
/*------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* ps_status.h |
| 4 |
* |
| 5 |
* Declarations for backend/utils/misc/ps_status.c |
| 6 |
* |
| 7 |
* src/include/utils/ps_status.h |
| 8 |
* |
| 9 |
***------------------------------------------------------------------------- |
| 10 |
*/ |
| 11 |
|
| 12 |
#ifndef MOWGLI_SRC_LIBMOWGLI_EXT_PROCTITLE_H_INCLUDE_GUARD |
| 13 |
#define MOWGLI_SRC_LIBMOWGLI_EXT_PROCTITLE_H_INCLUDE_GUARD 1 |
| 14 |
|
| 15 |
#include "core/stdinc.h" |
| 16 |
#include "platform/attributes.h" |
| 17 |
|
| 18 |
extern bool mowgli_proctitle_update; |
| 19 |
|
| 20 |
extern char **mowgli_argv; |
| 21 |
extern int mowgli_argc; |
| 22 |
|
| 23 |
extern char **mowgli_proctitle_init(int argc, char **argv); |
| 24 |
|
| 25 |
extern void mowgli_proctitle_set(const char *fmt, ...) |
| 26 |
MOWGLI_FATTR_PRINTF(1, 2); |
| 27 |
|
| 28 |
extern const char *mowgli_proctitle_get(int *displen); |
| 29 |
|
| 30 |
#endif /* MOWGLI_SRC_LIBMOWGLI_EXT_PROCTITLE_H_INCLUDE_GUARD */ |