~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/parser/scansup.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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) 1996-2009, PostgreSQL Global Development Group
 
8
 * Portions Copyright (c) 1994, Regents of the University of California
 
9
 *
 
10
 * $PostgreSQL$
 
11
 *
 
12
 *-------------------------------------------------------------------------
 
13
 */
 
14
 
 
15
#ifndef SCANSUP_H
 
16
#define SCANSUP_H
 
17
 
 
18
extern char *scanstr(const char *s);
 
19
 
 
20
extern char *downcase_truncate_identifier(const char *ident, int len,
 
21
                                                         bool warn);
 
22
 
 
23
extern void truncate_identifier(char *ident, int len, bool warn);
 
24
 
 
25
extern bool scanner_isspace(char ch);
 
26
 
 
27
#endif   /* SCANSUP_H */