Files
postgresql/src/bin/psql/stringutils.h
2005-01-01 05:43:09 +00:00

22 lines
541 B
C

/*
* psql - the PostgreSQL interactive terminal
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/stringutils.h,v 1.22 2005/01/01 05:43:08 momjian Exp $
*/
#ifndef STRINGUTILS_H
#define STRINGUTILS_H
/* The cooler version of strtok() which knows about quotes and doesn't
* overwrite your input */
extern char *strtokx(const char *s,
const char *whitespace,
const char *delim,
const char *quote,
char escape,
bool del_quotes,
int encoding);
#endif /* STRINGUTILS_H */