ps_status.h 668 B

1234567891011121314151617181920212223242526
  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. #ifndef PS_STATUS_H
  12. #define PS_STATUS_H
  13. extern bool update_process_title;
  14. extern char **save_ps_display_args(int argc, char **argv);
  15. extern void init_ps_display(const char *username, const char *dbname,
  16. const char *host_info, const char *initial_str);
  17. extern void set_ps_display(const char *activity, bool force);
  18. extern const char *get_ps_display(int *displen);
  19. #endif /* PS_STATUS_H */