1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* keywords.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* string,atom lookup thingy, reduces strcmp traffic greatly
|
|
|
|
* in the bowels of the system. Look for actual defs in lib/C/atoms.c
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* $Id: keywords.h,v 1.7 2000/01/26 05:58:26 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef KEYWORDS_H
|
|
|
|
#define KEYWORDS_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
typedef struct ScanKeyword
|
|
|
|
{
|
1997-09-08 04:41:22 +02:00
|
|
|
char *name;
|
|
|
|
int value;
|
1997-09-08 23:56:23 +02:00
|
|
|
} ScanKeyword;
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
extern ScanKeyword *ScanKeywordLookup(char *text);
|
1997-09-08 04:41:22 +02:00
|
|
|
extern char *AtomValueGetString(int atomval);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* KEYWORDS_H */
|