2 * psql - the PostgreSQL interactive terminal
4 * Copyright (c) 2000-2025, PostgreSQL Global Development Group
6 * src/bin/psql/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
,
22 extern void strip_quotes(char *source
, char quote
, char escape
, int encoding
);
24 extern char *quote_if_needed(const char *source
, const char *entails_quote
,
25 char quote
, char escape
, bool force_quote
,
28 #endif /* STRINGUTILS_H */