PATH:
usr
/
include
/* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2018 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP * Public License. * * A copy of this license is available in file LICENSE in the * top-level directory of the distribution or, alternatively, at * <http://www.OpenLDAP.org/license.html>. */ /* This notice applies to changes, created by or for Novell, Inc., * to preexisting works for which notices appear elsewhere in this file. * * Copyright (C) 2000 Novell, Inc. All Rights Reserved. * * THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES. * USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT TO VERSION * 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS AVAILABLE AT * HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" IN THE * TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION OF THIS * WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP PUBLIC * LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT THE * PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. */ /* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License * can be found in the file "build/LICENSE-2.0.1" in this distribution * of OpenLDAP Software. */ #ifndef _LDAP_UTF8_H #define _LDAP_UTF8_H #include <lber_types.h> /* get ber_*_t */ /* * UTF-8 Utility Routines */ LDAP_BEGIN_DECL #define LDAP_UCS4_INVALID (0x80000000U) typedef ber_int_t ldap_ucs4_t; /* LDAP_MAX_UTF8_LEN is 3 or 6 depending on size of wchar_t */ #define LDAP_MAX_UTF8_LEN ( sizeof(wchar_t) * 3/2 ) /* Unicode conversion routines */ LDAP_F( ldap_ucs4_t ) ldap_x_utf8_to_ucs4( LDAP_CONST char * p ); LDAP_F( int ) ldap_x_ucs4_to_utf8( ldap_ucs4_t c, char *buf ); /* * Wide Char / UTF-8 Conversion Routines */ /* UTF-8 character to Wide Char */ LDAP_F(int) ldap_x_utf8_to_wc LDAP_P(( wchar_t *wchar, LDAP_CONST char *utf8char )); /* UTF-8 string to Wide Char string */ LDAP_F(int) ldap_x_utf8s_to_wcs LDAP_P(( wchar_t *wcstr, LDAP_CONST char *utf8str, size_t count )); /* Wide Char to UTF-8 character */ LDAP_F(int) ldap_x_wc_to_utf8 LDAP_P(( char *utf8char, wchar_t wchar, size_t count )); /* Wide Char string to UTF-8 string */ LDAP_F(int) ldap_x_wcs_to_utf8s LDAP_P(( char *utf8str, LDAP_CONST wchar_t *wcstr, size_t count )); /* * MultiByte Char / UTF-8 Conversion Routines */ /* UTF-8 character to MultiByte character */ LDAP_F(int) ldap_x_utf8_to_mb LDAP_P(( char *mbchar, LDAP_CONST char *utf8char, int (*ldap_f_wctomb)( char *mbchar, wchar_t wchar ))); /* UTF-8 string to MultiByte string */ LDAP_F(int) ldap_x_utf8s_to_mbs LDAP_P(( char *mbstr, LDAP_CONST char *utf8str, size_t count, size_t (*ldap_f_wcstombs)( char *mbstr, LDAP_CONST wchar_t *wcstr, size_t count) )); /* MultiByte character to UTF-8 character */ LDAP_F(int) ldap_x_mb_to_utf8 LDAP_P(( char *utf8char, LDAP_CONST char *mbchar, size_t mbsize, int (*ldap_f_mbtowc)( wchar_t *wchar, LDAP_CONST char *mbchar, size_t count) )); /* MultiByte string to UTF-8 string */ LDAP_F(int) ldap_x_mbs_to_utf8s LDAP_P(( char *utf8str, LDAP_CONST char *mbstr, size_t count, size_t (*ldap_f_mbstowcs)( wchar_t *wcstr, LDAP_CONST char *mbstr, size_t count) )); LDAP_END_DECL #endif /* _LDAP_UTF8_H */
[+]
..
[-] malloc.h
[edit]
[-] gnumake.h
[edit]
[-] syslog.h
[edit]
[-] gnu-versions.h
[edit]
[-] sysexits.h
[edit]
[-] fstrm.h
[edit]
[+]
gdb
[+]
libdb
[-] monetary.h
[edit]
[-] gettext-po.h
[edit]
[-] gdfx.h
[edit]
[-] shadow.h
[edit]
[-] gpgrt.h
[edit]
[-] term_entry.h
[edit]
[-] evrpc.h
[edit]
[-] sgtty.h
[edit]
[-] libintl.h
[edit]
[-] jconfig.h
[edit]
[-] lber_types.h
[edit]
[-] ar.h
[edit]
[+]
c++
[-] expat.h
[edit]
[+]
netinet
[+]
openssl
[-] unctrl.h
[edit]
[-] gpg-error.h
[edit]
[-] wchar.h
[edit]
[-] stdlib.h
[edit]
[-] tic.h
[edit]
[-] zstd_errors.h
[edit]
[-] alloca.h
[edit]
[-] langinfo.h
[edit]
[-] nl_types.h
[edit]
[-] paths.h
[edit]
[+]
netash
[-] utmp.h
[edit]
[-] gdcache.h
[edit]
[-] ifaddrs.h
[edit]
[-] tiffvers.h
[edit]
[-] mqueue.h
[edit]
[-] pcre2.h
[edit]
[+]
nfs
[+]
xen
[-] threads.h
[edit]
[-] gdfontg.h
[edit]
[-] jpegint.h
[edit]
[-] spawn.h
[edit]
[-] printf.h
[edit]
[-] cursesp.h
[edit]
[-] a.out.h
[edit]
[+]
fontconfig
[+]
libpng16
[+]
perf
[-] keyutils.h
[edit]
[-] ldap.h
[edit]
[-] krb5.h
[edit]
[-] string.h
[edit]
[+]
ext2fs
[-] argz.h
[edit]
[-] autosprintf.h
[edit]
[-] errno.h
[edit]
[-] zdict.h
[edit]
[-] values.h
[edit]
[-] argp.h
[edit]
[+]
fstrm
[-] pcreposix.h
[edit]
[+]
sound
[-] ldif.h
[edit]
[+]
criu
[-] unistd.h
[edit]
[-] fstab.h
[edit]
[-] ctype.h
[edit]
[-] menu.h
[edit]
[-] gd_errors.h
[edit]
[-] ldap_cdefs.h
[edit]
[+]
mysql
[-] libaio.h
[edit]
[-] termcap.h
[edit]
[+]
netiucv
[-] complex.h
[edit]
[-] aio.h
[edit]
[-] db.h
[edit]
[+]
e2p
[-] features.h
[edit]
[-] gdfontl.h
[edit]
[-] cursesf.h
[edit]
[-] pcrecpparg.h
[edit]
[-] krad.h
[edit]
[-] utmpx.h
[edit]
[-] gdbm.h
[edit]
[-] glob.h
[edit]
[+]
sasl
[+]
arpa
[-] jpeglib.h
[edit]
[-] tgmath.h
[edit]
[-] ldap_utf8.h
[edit]
[-] ttyent.h
[edit]
[-] evutil.h
[edit]
[-] expat_external.h
[edit]
[-] re_comp.h
[edit]
[-] fenv.h
[edit]
[+]
libexslt
[-] cpuidle.h
[edit]
[-] locale.h
[edit]
[-] gcrypt.h
[edit]
[-] fmtmsg.h
[edit]
[+]
event2
[-] lber.h
[edit]
[-] zstd.h
[edit]
[+]
apache2
[+]
sys
[+]
lua-5.1
[+]
sepol
[-] jmorecfg.h
[edit]
[+]
gssapi
[-] idn-free.h
[edit]
[-] setjmp.h
[edit]
[-] zbuff.h
[edit]
[-] fpu_control.h
[edit]
[-] fnmatch.h
[edit]
[-] tar.h
[edit]
[-] time.h
[edit]
[-] tiffconf-64.h
[edit]
[+]
python3.6m
[+]
scsi
[+]
lzma
[-] ndbm.h
[edit]
[-] jerror.h
[edit]
[-] search.h
[edit]
[-] thread_db.h
[edit]
[-] dlfcn.h
[edit]
[+]
netatalk
[-] panel.h
[edit]
[+]
mtd
[-] grp.h
[edit]
[+]
webp
[-] gelf.h
[edit]
[-] slapi-plugin.h
[edit]
[-] math.h
[edit]
[-] pwd.h
[edit]
[-] stab.h
[edit]
[-] limits.h
[edit]
[-] gdfonts.h
[edit]
[-] pngconf.h
[edit]
[+]
linux
[+]
json-c
[-] tiff.h
[edit]
[-] ieee754.h
[edit]
[-] expat_config.h
[edit]
[-] verto.h
[edit]
[-] mntent.h
[edit]
[-] link.h
[edit]
[+]
google
[+]
libltdl
[-] stringprep.h
[edit]
[+]
net
[-] etip.h
[edit]
[-] ltdl.h
[edit]
[-] wctype.h
[edit]
[-] stdio_ext.h
[edit]
[-] idna.h
[edit]
[-] stdint.h
[edit]
[-] gdpp.h
[edit]
[-] cursslk.h
[edit]
[-] term.h
[edit]
[+]
libxml2
[-] dirent.h
[edit]
[-] semaphore.h
[edit]
[+]
libxslt
[-] ncurses.h
[edit]
[-] getopt.h
[edit]
[-] magic.h
[edit]
[+]
misc
[-] syscall.h
[edit]
[-] tiffconf.h
[edit]
[-] elf.h
[edit]
[-] ucontext.h
[edit]
[-] tiffio.h
[edit]
[-] cursesw.h
[edit]
[-] execinfo.h
[edit]
[-] poll.h
[edit]
[-] endian.h
[edit]
[-] stdio.h
[edit]
[-] libelf.h
[edit]
[+]
bsock
[-] libgen.h
[edit]
[-] cpio.h
[edit]
[-] gssapi.h
[edit]
[-] cursesm.h
[edit]
[-] fts.h
[edit]
[-] inttypes.h
[edit]
[-] netdb.h
[edit]
[+]
video
[+]
python2.7
[-] tiffio.hxx
[edit]
[-] gd_io.h
[edit]
[-] utime.h
[edit]
[-] err.h
[edit]
[+]
kadm5
[-] verto-module.h
[edit]
[+]
xcb
[-] regexp.h
[edit]
[+]
netrom
[-] envz.h
[edit]
[-] zconf.h
[edit]
[+]
neteconet
[+]
curl
[-] aliases.h
[edit]
[-] punycode.h
[edit]
[+]
bind9
[+]
krb5
[-] ulimit.h
[edit]
[-] zlib.h
[edit]
[-] signal.h
[edit]
[+]
freetype2
[+]
netax25
[-] termio.h
[edit]
[-] kdb.h
[edit]
[-] ncurses_dll.h
[edit]
[-] error.h
[edit]
[-] pcre_scanner.h
[edit]
[-] com_err.h
[edit]
[-] nss.h
[edit]
[-] tld.h
[edit]
[+]
bits
[-] entities.h
[edit]
[+]
rdma
[+]
rpc
[+]
drm
[+]
gdbm
[+]
uuid
[-] bzlib.h
[edit]
[-] pnglibconf.h
[edit]
[-] nc_tparm.h
[edit]
[-] stdc-predef.h
[edit]
[-] byteswap.h
[edit]
[-] gd.h
[edit]
[+]
security
[-] termios.h
[edit]
[-] pthread.h
[edit]
[-] jconfig-64.h
[edit]
[+]
et
[+]
jemalloc
[-] wait.h
[edit]
[-] lastlog.h
[edit]
[-] dbm.h
[edit]
[-] crypt.h
[edit]
[+]
ncurses
[-] lzma.h
[edit]
[-] proc_service.h
[edit]
[+]
finclude
[-] memory.h
[edit]
[-] obstack.h
[edit]
[-] regex.h
[edit]
[+]
protobuf-c
[-] sched.h
[edit]
[+]
X11
[-] pcrecpp.h
[edit]
[+]
protocols
[+]
netrose
[-] assert.h
[edit]
[+]
GL
[-] ldap_schema.h
[edit]
[-] iconv.h
[edit]
[+]
ncursesw
[-] nlist.h
[edit]
[+]
python3.8
[-] gshadow.h
[edit]
[-] strings.h
[edit]
[-] gconv.h
[edit]
[-] ldap_features.h
[edit]
[-] gd_color_map.h
[edit]
[-] evdns.h
[edit]
[+]
asm-generic
[+]
asm
[-] ftw.h
[edit]
[-] pcre.h
[edit]
[-] gdfontt.h
[edit]
[-] profile.h
[edit]
[-] idn-int.h
[edit]
[-] FlexLexer.h
[edit]
[-] pcre_stringpiece.h
[edit]
[+]
netpacket
[-] pcre2posix.h
[edit]
[+]
selinux
[+]
netipx
[-] evhttp.h
[edit]
[-] pr29.h
[edit]
[-] form.h
[edit]
[-] event.h
[edit]
[-] resolv.h
[edit]
[-] uchar.h
[edit]
[+]
gssrpc
[-] mcheck.h
[edit]
[-] eti.h
[edit]
[-] curses.h
[edit]
[-] pty.h
[edit]
[-] db_185.h
[edit]
[-] gdfontmb.h
[edit]
[-] wordexp.h
[edit]
[-] fcntl.h
[edit]
[-] png.h
[edit]
[-] cursesapp.h
[edit]
[+]
gnu