1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* pqsignal.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* prototypes for the reliable BSD-style signal(2) routine.
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* $Id: pqsignal.h,v 1.8 2000/01/26 05:58:46 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
* NOTES
|
1997-09-07 07:04:48 +02:00
|
|
|
* This shouldn't be in libpq, but the monitor and some other
|
|
|
|
* things need it...
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PQSIGNAL_H
|
|
|
|
#define PQSIGNAL_H
|
|
|
|
|
1999-01-17 04:04:57 +01:00
|
|
|
#include "postgres.h"
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-08 04:41:22 +02:00
|
|
|
typedef void (*pqsigfunc) (int);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
extern pqsigfunc pqsignal(int signo, pqsigfunc func);
|
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* PQSIGNAL_H */
|