aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/ascii.h
blob: 16b59a8620980c06ba45175169762b66cdb14ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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