Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / bin / psql / stringutils.h
blob4b2be9ecdb04b7b9bb087e72b6dbd58835fb2585
1 /*
2 * psql - the PostgreSQL interactive terminal
4 * Copyright (c) 2000-2009, PostgreSQL Global Development Group
6 * $PostgreSQL$
7 */
8 #ifndef STRINGUTILS_H
9 #define STRINGUTILS_H
11 /* The cooler version of strtok() which knows about quotes and doesn't
12 * overwrite your input */
13 extern char *strtokx(const char *s,
14 const char *whitespace,
15 const char *delim,
16 const char *quote,
17 char escape,
18 bool e_strings,
19 bool del_quotes,
20 int encoding);
22 #endif /* STRINGUTILS_H */