diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-08-04 20:22:52 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-08-04 20:22:52 +0000 |
commit | 403e522f1517dc2b11ffaa112773af8254afde57 (patch) | |
tree | 96a2e05c81a5abcd0e5bd3498b4f1aa6bf5043a2 /src/include/utils/ascii.h | |
parent | 317ff59cedc77542cae0e0dd1752fda9c0064f47 (diff) | |
download | postgresql-403e522f1517dc2b11ffaa112773af8254afde57.tar.gz postgresql-403e522f1517dc2b11ffaa112773af8254afde57.zip |
Add missing files from Karel, tip from Jan.
Diffstat (limited to 'src/include/utils/ascii.h')
-rw-r--r-- | src/include/utils/ascii.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/utils/ascii.h b/src/include/utils/ascii.h new file mode 100644 index 00000000000..16b59a86209 --- /dev/null +++ b/src/include/utils/ascii.h @@ -0,0 +1,24 @@ + +/* ----------------------------------------------------------------------- + * ascii.h + * + * $Id: ascii.h,v 1.1 2000/08/04 20:22:52 momjian Exp $ + * + * Portions Copyright (c) 1999-2000, PostgreSQL, Inc + * + * ----------------------------------------------------------------------- + */ + +#ifndef _ASCII_H_ +#define _ASCII_H_ + +#include "fmgr.h" + +extern Datum to_ascii_encname(PG_FUNCTION_ARGS); +extern Datum to_ascii_enc(PG_FUNCTION_ARGS); +extern Datum to_ascii_default(PG_FUNCTION_ARGS); + +extern char *pg_to_ascii(unsigned char *src, unsigned char *src_end, + unsigned char *desc, int enc); + +#endif |