2000-08-05 16:59:29 +02:00
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------
|
|
|
|
* ascii.h
|
|
|
|
*
|
2001-10-28 07:26:15 +01:00
|
|
|
* $Id: ascii.h,v 1.7 2001/10/28 06:26:09 momjian Exp $
|
2000-08-05 16:59:29 +02:00
|
|
|
*
|
2001-01-24 20:43:33 +01:00
|
|
|
* Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group
|
2000-08-05 16:59:29 +02:00
|
|
|
*
|
|
|
|
* -----------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
|
|
|
#ifdef MULTIBYTE
|
|
|
|
|
2001-03-22 05:01:46 +01:00
|
|
|
extern char *pg_to_ascii(unsigned char *src, unsigned char *src_end,
|
|
|
|
unsigned char *desc, int enc);
|
|
|
|
#endif /* MULTIBYTE */
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-03-22 05:01:46 +01:00
|
|
|
#endif /* _ASCII_H_ */
|