]> git.8kb.co.uk Git - pgpool-ii/pgpool-ii_2.2.5/blob - parser/scansup.h
Attempt to send a proper failure message to frontend when authentication
[pgpool-ii/pgpool-ii_2.2.5] / parser / scansup.h
1 /*-------------------------------------------------------------------------
2  *
3  * scansup.h
4  *        scanner support routines.  used by both the bootstrap lexer
5  * as well as the normal lexer
6  *
7  * Portions Copyright (c) 2003-2008, PgPool Global Development Group
8  * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * $PostgreSQL: pgsql/src/include/parser/scansup.h,v 1.18 2004/12/31 22:03:38 pgsql Exp $
12  *
13  *-------------------------------------------------------------------------
14  */
15
16 #ifndef SCANSUP_H
17 #define SCANSUP_H
18
19 extern char *scanstr(const char *s);
20
21 extern char *downcase_truncate_identifier(const char *ident, int len,
22                                                          int warn);
23
24 extern void truncate_identifier(char *ident, int len, int warn);
25
26 #endif   /* SCANSUP_H */