aboutsummaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_hosts.h
blob: f192310f2c7837b714569bcf39e0050eb432a8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*-------------------------------------------------------------------------
 *
 * pg_hosts.h--
 *
 *     the pg_hosts system catalog provides host-based access to the 
 * backend.  Only those hosts that are in the pg_hosts 
 *
 *  currently, this table is not used, instead file-based host authentication
 * is used
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: pg_hosts.h,v 1.2 1996/10/31 09:47:30 scrappy Exp $
 *
 * NOTES
 *    the genbki.sh script reads this file and generates .bki
 *    information from the DATA() statements.
 *-------------------------------------------------------------------------
 */

#ifndef PG_HOSTS_H
#define PG_HOSTS_H

/* ----------------
 *	postgres.h contains the system type definintions and the
 *	CATALOG(), BOOTSTRAP and DATA() sugar words so this file
 *	can be read by both genbki.sh and the C compiler.
 * ----------------
 */

CATALOG(pg_hosts) BOOTSTRAP {
        NameData dbName;   
	text	address; 
	text    mask;
} FormData_pg_hosts;

typedef FormData_pg_hosts	*Form_pg_hosts;
#define Natts_pg_hosts		3
#define Anum_pg_hosts_dbName	1
#define Anum_pg_hosts_address	2
#define Anum_pg_hosts_mask      3

#endif /* PG_HOSTS_H */