/*-------------------------------------------------------------------------
*
- * 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.
+ * 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.
*
- * Copyright (c) 1994, Regents of the University of California
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: readfuncs.h,v 1.1 1996/08/28 01:57:47 scrappy Exp $
+ * $Id: readfuncs.h,v 1.17 2003/08/04 02:40:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#ifndef READFUNCS_H
-#define READFUNCS_H
+#ifndef READFUNCS_H
+#define READFUNCS_H
+
+#include "nodes/nodes.h"
/*
* prototypes for functions in read.c (the lisp token parser)
*/
-extern char *lsptok(char *string, int *length);
+extern char *pg_strtok(int *length);
+extern char *debackslash(char *token, int length);
extern void *nodeRead(bool read_car_only);
/*
- * prototypes for functions in readfuncs.c
+ * prototypes for functions in readfuncs.c
*/
-extern Node *parsePlanString();
+extern Node *parseNodeString(void);
-#endif /* READFUNCS_H */
+#endif /* READFUNCS_H */