PostgreSQL Source Code
git master
readfuncs.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* readfuncs.h
4
* header file for read.c and readfuncs.c. These functions are internal
5
* to the stringToNode interface and should not be used by anyone else.
6
*
7
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
* src/include/nodes/readfuncs.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef READFUNCS_H
15
#define READFUNCS_H
16
17
#include "
nodes/nodes.h
"
18
19
/*
20
* variable in read.c that needs to be accessible to readfuncs.c
21
*/
22
#ifdef DEBUG_NODE_TESTS_ENABLED
23
extern
PGDLLIMPORT
bool
restore_location_fields;
24
#endif
25
26
/*
27
* prototypes for functions in read.c (the lisp token parser)
28
*/
29
extern
const
char
*
pg_strtok
(
int
*length);
30
extern
char
*
debackslash
(
const
char
*
token
,
int
length);
31
extern
void
*
nodeRead
(
const
char
*
token
,
int
tok_len);
32
33
/*
34
* prototypes for functions in readfuncs.c
35
*/
36
extern
Node
*
parseNodeString
(
void
);
37
38
#endif
/* READFUNCS_H */
PGDLLIMPORT
#define PGDLLIMPORT
Definition:
c.h:1319
token
#define token
Definition:
indent_globs.h:126
nodes.h
pg_strtok
const char * pg_strtok(int *length)
Definition:
read.c:153
parseNodeString
Node * parseNodeString(void)
Definition:
readfuncs.c:565
debackslash
char * debackslash(const char *token, int length)
Definition:
read.c:214
nodeRead
void * nodeRead(const char *token, int tok_len)
Definition:
read.c:320
Node
Definition:
nodes.h:129
src
include
nodes
readfuncs.h
Generated on Sun Oct 6 2024 12:13:25 for PostgreSQL Source Code by
1.9.1