3 * $Header: /cvsroot/pgpool/pgpool-II/pool_ipc.h,v 1.3 2008/01/29 01:56:36 y-asaba Exp $
5 * pgpool: a language independent connection pool server for PostgreSQL
6 * written by Tatsuo Ishii
8 * Portions Copyright (c) 2003-2008, PgPool Global Development Group
9 * Portions Copyright (c) 2003-2004, PostgreSQL Global Development Group
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.
27 typedef unsigned long Datum; /* XXX sizeof(long) >= sizeof(void *) */
30 #define IPCProtection (0600) /* access/modify by user only */
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);