1997-11-05 22:38:25 +01:00
|
|
|
#ifndef MISC_UTILS_H
|
|
|
|
#define MISC_UTILS_H
|
|
|
|
|
1998-02-26 05:46:47 +01:00
|
|
|
int query_limit(int limit);
|
|
|
|
int backend_pid(void);
|
|
|
|
int unlisten(char *relname);
|
|
|
|
int max(int x, int y);
|
|
|
|
int min(int x, int y);
|
2000-02-13 19:59:53 +01:00
|
|
|
int active_listeners(text *relname);
|
1999-05-25 18:15:34 +02:00
|
|
|
|
2000-02-13 19:59:53 +01:00
|
|
|
#ifdef USE_ASSERT_CHECKING
|
|
|
|
int assert_enable(int val);
|
1998-08-30 21:37:51 +02:00
|
|
|
#ifdef ASSERT_CHECKING_TEST
|
|
|
|
int assert_test(int val);
|
|
|
|
#endif
|
2000-02-13 19:59:53 +01:00
|
|
|
#endif
|
1997-11-05 22:38:25 +01:00
|
|
|
|
|
|
|
#endif
|
1998-08-30 21:37:51 +02:00
|
|
|
|
|
|
|
/*
|
1999-06-05 21:09:48 +02:00
|
|
|
* Local Variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-indent-level: 4
|
|
|
|
* c-basic-offset: 4
|
1998-08-30 21:37:51 +02:00
|
|
|
* End:
|
|
|
|
*/
|