1998-08-25 17:29:16 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* ps_status.h
|
1998-08-25 17:29:16 -04:00
|
|
|
*
|
2000-06-03 21:44:38 -04:00
|
|
|
* Declarations for backend/utils/misc/ps_status.c
|
1998-08-25 17:29:16 -04:00
|
|
|
*
|
2010-09-20 16:08:53 -04:00
|
|
|
* src/include/utils/ps_status.h
|
2001-10-20 23:25:36 -04:00
|
|
|
*
|
1998-08-25 17:29:16 -04:00
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef PS_STATUS_H
|
|
|
|
|
#define PS_STATUS_H
|
|
|
|
|
|
2006-06-27 18:16:44 -04:00
|
|
|
extern bool update_process_title;
|
|
|
|
|
|
2004-02-22 16:26:55 -05:00
|
|
|
extern char **save_ps_display_args(int argc, char **argv);
|
2001-10-20 23:25:36 -04:00
|
|
|
|
|
|
|
|
extern void init_ps_display(const char *username, const char *dbname,
|
2006-06-27 18:16:44 -04:00
|
|
|
const char *host_info, const char *initial_str);
|
2000-05-12 10:33:08 -04:00
|
|
|
|
2006-06-27 18:16:44 -04:00
|
|
|
extern void set_ps_display(const char *activity, bool force);
|
2000-05-12 10:33:08 -04:00
|
|
|
|
2005-11-04 22:04:53 -05:00
|
|
|
extern const char *get_ps_display(int *displen);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* PS_STATUS_H */
|