
per suggestion from Peter. Simplify several APIs by transmitting the original argv location directly from main.c to ps_status.c, instead of passing it down through several levels of subroutines.
25 lines
613 B
C
25 lines
613 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* ps_status.h
|
|
*
|
|
* Declarations for backend/utils/misc/ps_status.c
|
|
*
|
|
* $Id: ps_status.h,v 1.20 2001/10/21 03:25:36 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef PS_STATUS_H
|
|
#define PS_STATUS_H
|
|
|
|
extern void save_ps_display_args(int argc, char *argv[]);
|
|
|
|
extern void init_ps_display(const char *username, const char *dbname,
|
|
const char *host_info);
|
|
|
|
extern void set_ps_display(const char *activity);
|
|
|
|
extern const char *get_ps_display(void);
|
|
|
|
#endif /* PS_STATUS_H */
|