aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/mbprint.h
blob: 7b1aa054dbac8a235e97d9062df521194b59af7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $PostgreSQL: pgsql/src/bin/psql/mbprint.h,v 1.7 2003/11/29 22:40:49 pgsql Exp $ */
#ifndef MBPRINT_H
#define MBPRINT_H

#include "mb/pg_wchar.h"

pg_wchar	utf2ucs(const unsigned char *c);

unsigned char *mbvalidate(unsigned char *pwcs, int encoding);

int			pg_wcswidth(unsigned char *pwcs, size_t len, int encoding);

#endif   /* MBPRINT_H */