readfuncs.h 897 B

12345678910111213141516171819202122232425262728293031
  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-2016, 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. #include "nodes/nodes.h"
  17. /*
  18. * prototypes for functions in read.c (the lisp token parser)
  19. */
  20. extern char *pg_strtok(int *length);
  21. extern char *debackslash(char *token, int length);
  22. extern void *nodeRead(char *token, int tok_len);
  23. /*
  24. * prototypes for functions in readfuncs.c
  25. */
  26. extern Node *parseNodeString(void);
  27. #endif /* READFUNCS_H */