Eneboo - Documentación para desarrolladores
|
00001 /*------------------------------------------------------------------------- 00002 * 00003 * pqsignal.h 00004 * prototypes for the reliable BSD-style signal(2) routine. 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * $PostgreSQL: pgsql/src/interfaces/libpq/pqsignal.h,v 1.19 2004/12/31 22:03:50 pgsql Exp $ 00011 * 00012 * NOTES 00013 * This shouldn't be in libpq, but the monitor and some other 00014 * things need it... 00015 * 00016 *------------------------------------------------------------------------- 00017 */ 00018 #ifndef PQSIGNAL_H 00019 #define PQSIGNAL_H 00020 00021 #include "postgres_fe.h" 00022 00023 typedef void (*pqsigfunc) (int); 00024 00025 extern pqsigfunc pqsignal(int signo, pqsigfunc func); 00026 00027 extern pqsigfunc pqsignalinquire(int signo); 00028 00029 #endif /* PQSIGNAL_H */