postgresql/src/include/nodes/readfuncs.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
C
Raw Normal View History

/*-------------------------------------------------------------------------
*
* readfuncs.h
* header file for read.c and readfuncs.c. These functions are internal
* to the stringToNode interface and should not be used by anyone else.
*
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
2010-09-20 16:08:53 -04:00
* src/include/nodes/readfuncs.h
*
*-------------------------------------------------------------------------
*/
#ifndef READFUNCS_H
#define READFUNCS_H
1997-11-25 20:14:33 -05:00
#include "nodes/nodes.h"
2018-09-18 17:11:54 -04:00
/*
* variable in read.c that needs to be accessible to readfuncs.c
*/
#ifdef DEBUG_NODE_TESTS_ENABLED
extern PGDLLIMPORT bool restore_location_fields;
2018-09-18 17:11:54 -04:00
#endif
/*
* prototypes for functions in read.c (the lisp token parser)
*/
2018-09-18 17:11:54 -04:00
extern const char *pg_strtok(int *length);
extern char *debackslash(const char *token, int length);
extern void *nodeRead(const char *token, int tok_len);
/*
* prototypes for functions in readfuncs.c
*/
extern Node *parseNodeString(void);
#endif /* READFUNCS_H */