1 /*----------------------------------------------------------------------- 2 * ascii.h 3 * 4 * Portions Copyright (c) 1999-2016, PostgreSQL Global Development Group 5 * 6 * src/include/utils/ascii.h 7 * 8 *----------------------------------------------------------------------- 9 */ 10 11 #ifndef _ASCII_H_ 12 #define _ASCII_H_ 13 14 #include "fmgr.h" 15 16 extern Datum to_ascii_encname(PG_FUNCTION_ARGS); 17 extern Datum to_ascii_enc(PG_FUNCTION_ARGS); 18 extern Datum to_ascii_default(PG_FUNCTION_ARGS); 19 20 extern void ascii_safe_strlcpy(char *dest, const char *src, size_t destsiz); 21 22 #endif /* _ASCII_H_ */ 23