~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to src/interfaces/libpq/pqsignal.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * pqsignal.h
 
4
 *        prototypes for the reliable BSD-style signal(2) routine.
 
5
 *
 
6
 *
 
7
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
 
8
 * Portions Copyright (c) 1994, Regents of the University of California
 
9
 *
 
10
 * $PostgreSQL$
 
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 */