2015-01-03 14:51:52 -05:00
|
|
|
/*
|
|
|
|
|
* string.h
|
|
|
|
|
* string handling helpers
|
|
|
|
|
*
|
2019-01-02 12:44:25 -05:00
|
|
|
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
|
2015-01-03 14:51:52 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
|
|
|
|
* src/include/common/string.h
|
|
|
|
|
*/
|
|
|
|
|
#ifndef COMMON_STRING_H
|
|
|
|
|
#define COMMON_STRING_H
|
|
|
|
|
|
|
|
|
|
extern bool pg_str_endswith(const char *str, const char *end);
|
2018-03-15 09:02:51 -04:00
|
|
|
extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr,
|
|
|
|
|
int base);
|
2018-09-28 19:04:50 -04:00
|
|
|
extern void pg_clean_ascii(char *str);
|
2015-01-03 14:51:52 -05:00
|
|
|
|
|
|
|
|
#endif /* COMMON_STRING_H */
|