]> git.8kb.co.uk Git - pgpool-ii/pgpool-ii_2.2.5/blob - pool_ipc.h
Attempt to send a proper failure message to frontend when authentication
[pgpool-ii/pgpool-ii_2.2.5] / pool_ipc.h
1 /* -*-pgsql-c-*- */
2 /*
3  * $Header: /cvsroot/pgpool/pgpool-II/pool_ipc.h,v 1.3 2008/01/29 01:56:36 y-asaba Exp $
4  *
5  * pgpool: a language independent connection pool server for PostgreSQL 
6  * written by Tatsuo Ishii
7  *
8  * Portions Copyright (c) 2003-2008, PgPool Global Development Group
9  * Portions Copyright (c) 2003-2004, PostgreSQL Global Development Group
10  *
11  * Permission to use, copy, modify, and distribute this software and
12  * its documentation for any purpose and without fee is hereby
13  * granted, provided that the above copyright notice appear in all
14  * copies and that both that copyright notice and this permission
15  * notice appear in supporting documentation, and that the name of the
16  * author not be used in advertising or publicity pertaining to
17  * distribution of the software without specific, written prior
18  * permission. The author makes no representations about the
19  * suitability of this software for any purpose.  It is provided "as
20  * is" without express or implied warranty.
21  *
22  */
23 #ifndef IPC_H
24 #define IPC_H
25
26
27 typedef unsigned long Datum;    /* XXX sizeof(long) >= sizeof(void *) */
28
29
30 #define IPCProtection   (0600)  /* access/modify by user only */
31
32
33 extern void shmem_exit(int code);
34 extern void on_shmem_exit(void (*function) (int code, Datum arg), Datum arg);
35 extern void on_exit_reset(void);
36
37
38 #endif   /* IPC_H */