postgresql/src/bin/psql/stringutils.h

22 lines
539 B
C
Raw Normal View History

2000-01-19 00:30:24 +01:00
/*
* psql - the PostgreSQL interactive terminal
*
* Copyright 2000 by PostgreSQL Global Development Group
2000-01-19 00:30:24 +01:00
*
* $Header: /cvsroot/pgsql/src/bin/psql/stringutils.h,v 1.16 2001/10/28 06:25:58 momjian Exp $
2000-01-19 00:30:24 +01:00
*/
#ifndef STRINGUTILS_H
#define STRINGUTILS_H
/* The cooler version of strtok() which knows about quotes and doesn't
* overwrite your input */
1999-11-05 00:14:30 +01:00
extern char *strtokx(const char *s,
const char *delim,
const char *quote,
int escape,
1999-11-05 00:14:30 +01:00
char *was_quoted,
unsigned int *token_pos,
int encoding);
#endif /* STRINGUTILS_H */