summaryrefslogtreecommitdiff
path: root/src/bin/psql/mbprint.h
blob: 4d0cab1b9dc8aedb9ff186e76c2749ba3251480c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $Id: mbprint.h,v 1.2 2001/10/25 05:49:54 momjian Exp $ */
#ifndef MBPRINT_H
#define MBPRINT_H


#ifdef MULTIBYTE

#include "mb/pg_wchar.h"

pg_wchar	utf2ucs(const unsigned char *c);

unsigned char *mbvalidate(unsigned char *pwcs);
#endif	 /* MULTIBYTE */

int			pg_wcswidth(unsigned char *pwcs, int len);
#endif	 /* MBPRINT_H */