aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/keywords.h
blob: 9d459cda8adc3294e0f09dc0d9fc8b69b4eaeda9 (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
/*-------------------------------------------------------------------------
 *
 * keywords.h--
 *	  string,atom lookup thingy, reduces strcmp traffic greatly
 *	  in the bowels of the system.	Look for actual defs in lib/C/atoms.c
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: keywords.h,v 1.3 1997/09/08 02:38:14 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef KEYWORDS_H
#define KEYWORDS_H

typedef struct ScanKeyword
{
	char	   *name;
	int			value;
}			ScanKeyword;

extern ScanKeyword *ScanKeywordLookup(char *text);
extern char *AtomValueGetString(int atomval);

#endif							/* KEYWORDS_H */