mirror of
https://github.com/postgres/postgres.git
synced 2026-04-05 01:07:27 -04:00
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
27 lines
741 B
C
27 lines
741 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* 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
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: keywords.h,v 1.7 2000/01/26 05:58:26 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 */
|