1 | /* |
2 | * string.h |
3 | * string handling helpers |
4 | * |
5 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
6 | * Portions Copyright (c) 1994, Regents of the University of California |
7 | * |
8 | * src/include/common/string.h |
9 | */ |
10 | #ifndef COMMON_STRING_H |
11 | #define COMMON_STRING_H |
12 | |
13 | extern bool pg_str_endswith(const char *str, const char *end); |
14 | extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr, |
15 | int base); |
16 | extern void pg_clean_ascii(char *str); |
17 | |
18 | #endif /* COMMON_STRING_H */ |
19 | |