summaryrefslogtreecommitdiff
path: root/src/include/mb
diff options
context:
space:
mode:
authorTatsuo Ishii2001-08-15 07:07:40 +0000
committerTatsuo Ishii2001-08-15 07:07:40 +0000
commitab9b6c45cf020d72f1600443fe76b9d7a4f8944c (patch)
treeb460aaafee6ad5642be96135407c1a2bb0ecf2fe /src/include/mb
parent872cd63d43fe93bbdb1782b9f3e4bc57f8f6925b (diff)
Add conver/convert2 functions. They are similar to the SQL99's convert.
Diffstat (limited to 'src/include/mb')
-rw-r--r--src/include/mb/pg_wchar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index a51aefa27d..6df58708f6 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -1,4 +1,4 @@
-/* $Id: pg_wchar.h,v 1.27 2001/07/15 11:07:37 ishii Exp $ */
+/* $Id: pg_wchar.h,v 1.28 2001/08/15 07:07:40 ishii Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
@@ -145,6 +145,8 @@ extern unsigned char *pg_server_to_client(unsigned char *, int);
extern int pg_valid_client_encoding(const char *);
extern pg_encoding_conv_tbl *pg_get_enc_ent(int);
extern int pg_utf_mblen(const unsigned char *);
+extern int pg_find_encoding_converters(int, int, void (**)(), void (**)());
+extern unsigned char *pg_do_encoding_conversion(unsigned char *, int, void (*)(), void (*)());
/* internally-used versions of functions. The PG_xxx forms of these
* functions have fmgr-compatible interfaves.