mirror of
https://github.com/postgres/postgres.git
synced 2026-01-15 01:22:28 +03:00
27 lines
686 B
C
27 lines
686 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
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: keywords.h,v 1.4 1997/09/08 21:53:38 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 */
|