blob: ad6f62cc41d0ccb6b7822923f5da6f075d63ef16 (
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
25
26
27
|
/*-------------------------------------------------------------------------
*
* unicode_case.h
* Routines for converting character case.
*
* These definitions can be used by both frontend and backend code.
*
* Copyright (c) 2017-2023, PostgreSQL Global Development Group
*
* src/include/common/unicode_case.h
*
*-------------------------------------------------------------------------
*/
#ifndef UNICODE_CASE_H
#define UNICODE_CASE_H
#include "mb/pg_wchar.h"
pg_wchar unicode_lowercase_simple(pg_wchar ucs);
pg_wchar unicode_titlecase_simple(pg_wchar ucs);
pg_wchar unicode_uppercase_simple(pg_wchar ucs);
size_t unicode_strlower(char *dst, size_t dstsize, const char *src,
size_t srclen);
size_t unicode_strupper(char *dst, size_t dstsize, const char *src,
size_t srclen);
#endif /* UNICODE_CASE_H */
|