]> granicus.if.org Git - postgresql/blob - src/interfaces/libpq/pqsignal.h
Revert part of recent include patch not ready for application.
[postgresql] / src / interfaces / libpq / pqsignal.h
1 /*-------------------------------------------------------------------------
2  *
3  * pqsignal.h
4  *        prototypes for the reliable BSD-style signal(2) routine.
5  *
6  *
7  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/interfaces/libpq/pqsignal.h,v 1.21 2006/05/30 15:57:56 tgl Exp $
11  *
12  * NOTES
13  *        This shouldn't be in libpq, but the monitor and some other
14  *        things need it...
15  *
16  *-------------------------------------------------------------------------
17  */
18 #ifndef PQSIGNAL_H
19 #define PQSIGNAL_H
20
21 #include "postgres_fe.h"
22
23 typedef void (*pqsigfunc) (int);
24
25 extern pqsigfunc pqsignal(int signo, pqsigfunc func);
26
27 #endif   /* PQSIGNAL_H */