Header And Logo

PostgreSQL
| The world's most advanced open source database.

scansup.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * scansup.h
00004  *    scanner support routines.  used by both the bootstrap lexer
00005  * as well as the normal lexer
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/parser/scansup.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 
00015 #ifndef SCANSUP_H
00016 #define SCANSUP_H
00017 
00018 extern char *scanstr(const char *s);
00019 
00020 extern char *downcase_truncate_identifier(const char *ident, int len,
00021                              bool warn);
00022 
00023 extern void truncate_identifier(char *ident, int len, bool warn);
00024 
00025 extern bool scanner_isspace(char ch);
00026 
00027 #endif   /* SCANSUP_H */