PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
scansup.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * scansup.h
4 * scanner support routines used by the core lexer
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * src/include/parser/scansup.h
10 *
11 *-------------------------------------------------------------------------
12 */
13
14#ifndef SCANSUP_H
15#define SCANSUP_H
16
17extern char *downcase_truncate_identifier(const char *ident, int len,
18 bool warn);
19
20extern char *downcase_identifier(const char *ident, int len,
21 bool warn, bool truncate);
22
23extern void truncate_identifier(char *ident, int len, bool warn);
24
25extern bool scanner_isspace(char ch);
26
27#endif /* SCANSUP_H */
#define ident
Definition: indent_codes.h:47
const void size_t len
char * downcase_identifier(const char *ident, int len, bool warn, bool truncate)
Definition: scansup.c:46
void truncate_identifier(char *ident, int len, bool warn)
Definition: scansup.c:93
char * downcase_truncate_identifier(const char *ident, int len, bool warn)
Definition: scansup.c:37
bool scanner_isspace(char ch)
Definition: scansup.c:117
warn
Definition: strftime.c:110