/usr/include
NameSizeModeActions
arpa/-0755rm
asm/-0755rm
asm-generic/-0755rm
bind9/-0755rm
bits/-0755rm
bsock/-0755rm
c++/-0755rm
db4/-0755rm
db4.2.52/-0755rm
db4.3.29/-0755rm
dns/-0755rm
drm/-0755rm
dst/-0755rm
e2p/-0755rm
et/-0755rm
ext2fs/-0755rm
fontconfig/-0755rm
freetype2/-0755rm
gdbm/-0755rm
GL/-0755rm
gnu/-0755rm
gssapi/-0755rm
gssrpc/-0755rm
isc/-0755rm
isccc/-0755rm
isccfg/-0755rm
kadm5/-0755rm
krb5/-0755rm
layout/-0755rm
libexslt/-0755rm
libltdl/-0755rm
libpng12/-0755rm
libxml2/-0755rm
libxslt/-0755rm
linux/-0755rm
lve/-0755rm
lwres/-0755rm
lzma/-0755rm
mtd/-0755rm
mysql/-0755rm
ncurses/-0755rm
ncursesw/-0755rm
net/-0755rm
netash/-0755rm
netatalk/-0755rm
netax25/-0755rm
neteconet/-0755rm
netinet/-0755rm
netipx/-0755rm
netiucv/-0755rm
netpacket/-0755rm
netrom/-0755rm
netrose/-0755rm
nfs/-0755rm
numpy/-0755rm
openssl/-0755rm
PCSC/-0755rm
protocols/-0755rm
python2.6/-0755rm
rdma/-0755rm
readline/-0755rm
rpc/-0755rm
rpcsvc/-0755rm
sasl/-0755rm
scsi/-0755rm
security/-0755rm
selinux/-0755rm
sepol/-0755rm
sound/-0755rm
sys/-0755rm
uapi/-0755rm
unicode/-0755rm
video/-0755rm
X11/-0755rm
xcb/-0755rm
xen/-0755rm
yaz/-0755rm
a.out.h43510644editdlrm
aio.h75020644editdlrm
aliases.h21150644editdlrm
alloca.h12890644editdlrm
ar.h17920644editdlrm
argp.h265210644editdlrm
argz.h73080644editdlrm
assert.h35060644editdlrm
autosprintf.h22840644editdlrm
byteswap.h14890644editdlrm
complex.h35570644editdlrm
cpio.h23350644editdlrm
crypt.h23410644editdlrm
ctype.h112870644editdlrm
curses.h798310644editdlrm
cursesapp.h65820644editdlrm
cursesf.h276300644editdlrm
cursesm.h194860644editdlrm
cursesp.h84730644editdlrm
cursesw.h492640644editdlrm
cursslk.h73040644editdlrm
db.h994270444editdlrm
db_185.h60100444editdlrm
db_cxx.h386380444editdlrm
dirent.h113180644editdlrm
dlfcn.h71170644editdlrm
elf.h1175390644editdlrm
endian.h29910644editdlrm
entities.h46730644editdlrm
envz.h29620644editdlrm
err.h23130644editdlrm
errno.h24520644editdlrm
error.h21320644editdlrm
eti.h28910644editdlrm
etip.h92070644editdlrm
execinfo.h16060644editdlrm
expat.h408490644editdlrm
expat_external.h33640644editdlrm
fam.h68750644editdlrm
fcntl.h91330644editdlrm
features.h128770644editdlrm
fenv.h46700644editdlrm
FlexLexer.h62170644editdlrm
fmtmsg.h33290644editdlrm
fnmatch.h25300644editdlrm
form.h171900644editdlrm
fpu_control.h31630644editdlrm
fstab.h31150644editdlrm
ft2build.h38900644editdlrm
fts.h52900644editdlrm
ftw.h53600644editdlrm
gconv.h53390644editdlrm
gcrypt-module.h71840644editdlrm
gcrypt.h705720644editdlrm
gd.h327900644editdlrm
gdbm.h47440644editdlrm
gdcache.h28120644editdlrm
gdfontg.h6230644editdlrm
gdfontl.h6210644editdlrm
gdfontmb.h5900644editdlrm
gdfonts.h5850644editdlrm
gdfontt.h6170644editdlrm
gdfx.h23960644editdlrm
gd_io.h11540644editdlrm
getopt.h67400644editdlrm
gettext-po.h148350644editdlrm
glob.h70070644editdlrm
gnu-versions.h24160644editdlrm
gpg-error.h226890644editdlrm
grp.h69910644editdlrm
gshadow.h46110644editdlrm
gssapi.h1810644editdlrm
iconv.h19490644editdlrm
idn-free.h22990644editdlrm
idn-int.h200644editdlrm
idna.h34360644editdlrm
ieee754.h49900644editdlrm
ifaddrs.h29020644editdlrm
inttypes.h122020644editdlrm
jconfig.h16530644editdlrm
jerror.h147480644editdlrm
jmorecfg.h137740644editdlrm
jpeglib.h502070644editdlrm
kdb.h583840644editdlrm
keyutils.h60920644editdlrm
krb5.h4020644editdlrm
langinfo.h160070644editdlrm
lastlog.h1260644editdlrm
lauxlib.h57770644editdlrm
libaio.h72520644editdlrm
libgen.h14650644editdlrm
libintl.h47020644editdlrm
libio.h177900644editdlrm
libssh2.h483560644editdlrm
libssh2_publickey.h49100644editdlrm
libssh2_sftp.h156510644editdlrm
limits.h45960644editdlrm
link.h72210644editdlrm
locale.h80320644editdlrm
ltdl.h57150644editdlrm
lua.h116880644editdlrm
lua.hpp1910644editdlrm
luaconf.h221280644editdlrm
lualib.h10260644editdlrm
lzma.h93060644editdlrm
malloc.h62970644editdlrm
math.h159870644editdlrm
mcheck.h25210644editdlrm
memory.h10290644editdlrm
menu.h118450644editdlrm
mntent.h34650644editdlrm
monetary.h18350644editdlrm
mqueue.h38720644editdlrm
ncurses.h798310644editdlrm
ncurses_dll.h38980644editdlrm
nc_tparm.h39470644editdlrm
netdb.h282670644editdlrm
nl_types.h18420644editdlrm
nss.h19620644editdlrm
obstack.h196730644editdlrm
panel.h37700644editdlrm
paths.h29730644editdlrm
png.h1619820644editdlrm
pngconf.h509920644editdlrm
poll.h220644editdlrm
pr29.h19740644editdlrm
printf.h68050644editdlrm
profile.h121540644editdlrm
pthread.h404910644editdlrm
pty.h16100644editdlrm
punycode.h94250644editdlrm
pwd.h60790644editdlrm
regex.h218710644editdlrm
regexp.h71230644editdlrm
resolv.h147650644editdlrm
re_comp.h10240644editdlrm
sched.h47300644editdlrm
search.h53180644editdlrm
semaphore.h24720644editdlrm
setjmp.h41120644editdlrm
sgtty.h14310644editdlrm
shadow.h53020644editdlrm
signal.h136620644editdlrm
spawn.h67630644editdlrm
stab.h2640644editdlrm
stdint.h85360644editdlrm
stdio.h315680644editdlrm
stdio_ext.h28730644editdlrm
stdlib.h342540644editdlrm
string.h226120644editdlrm
stringprep.h80440644editdlrm
strings.h47630644editdlrm
syscall.h250644editdlrm
sysexits.h52320644editdlrm
syslog.h240644editdlrm
tar.h37710644editdlrm
tcpd.h95460644editdlrm
term.h382050644editdlrm
termcap.h34790644editdlrm
termio.h2140644editdlrm
termios.h36400644editdlrm
term_entry.h70560644editdlrm
tgmath.h186100644editdlrm
thread_db.h160920644editdlrm
tic.h121810644editdlrm
tiff.h338130644editdlrm
tiffconf-64.h29690644editdlrm
tiffconf.h2500644editdlrm
tiffio.h205140644editdlrm
tiffio.hxx17060644editdlrm
tiffvers.h4100644editdlrm
time.h135340644editdlrm
tld.h45030644editdlrm
ttyent.h24960644editdlrm
ucontext.h20150644editdlrm
ulimit.h16570644editdlrm
unctrl.h30050644editdlrm
unistd.h425510644editdlrm
ustat.h230644editdlrm
utime.h16030644editdlrm
utmp.h33340644editdlrm
utmpx.h42030644editdlrm
values.h20290644editdlrm
verto-module.h60190644editdlrm
verto.h168290644editdlrm
wait.h220644editdlrm
wchar.h323830644editdlrm
wctype.h112270644editdlrm
wordexp.h25920644editdlrm
xlocale.h17710644editdlrm
yaml.h542240644editdlrm
zconf.h95440644editdlrm
zlib.h661880644editdlrm
_G_config.h25260644editdlrm
Edit: /usr/include/stringprep.h (8044B)
/* stringprep.h --- Header file for stringprep functions. * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon Josefsson * * This file is part of GNU Libidn. * * GNU Libidn is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * GNU Libidn is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU Libidn; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * */ #ifndef STRINGPREP_H # define STRINGPREP_H # ifndef IDNAPI # if defined LIBIDN_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY # define IDNAPI __attribute__((__visibility__("default"))) # elif defined LIBIDN_BUILDING && defined _MSC_VER && ! defined LIBIDN_STATIC # define IDNAPI __declspec(dllexport) # elif defined _MSC_VER && ! defined LIBIDN_STATIC # define IDNAPI __declspec(dllimport) # else # define IDNAPI # endif # endif # include /* size_t */ # include /* ssize_t */ # include /* uint32_t */ # ifdef __cplusplus extern "C" { # endif # define STRINGPREP_VERSION "1.18" /* Error codes. */ typedef enum { STRINGPREP_OK = 0, /* Stringprep errors. */ STRINGPREP_CONTAINS_UNASSIGNED = 1, STRINGPREP_CONTAINS_PROHIBITED = 2, STRINGPREP_BIDI_BOTH_L_AND_RAL = 3, STRINGPREP_BIDI_LEADTRAIL_NOT_RAL = 4, STRINGPREP_BIDI_CONTAINS_PROHIBITED = 5, /* Error in calling application. */ STRINGPREP_TOO_SMALL_BUFFER = 100, STRINGPREP_PROFILE_ERROR = 101, STRINGPREP_FLAG_ERROR = 102, STRINGPREP_UNKNOWN_PROFILE = 103, /* Internal errors. */ STRINGPREP_NFKC_FAILED = 200, STRINGPREP_MALLOC_ERROR = 201 } Stringprep_rc; /* Flags used when calling stringprep(). */ typedef enum { STRINGPREP_NO_NFKC = 1, STRINGPREP_NO_BIDI = 2, STRINGPREP_NO_UNASSIGNED = 4 } Stringprep_profile_flags; /* Steps in a stringprep profile. */ typedef enum { STRINGPREP_NFKC = 1, STRINGPREP_BIDI = 2, STRINGPREP_MAP_TABLE = 3, STRINGPREP_UNASSIGNED_TABLE = 4, STRINGPREP_PROHIBIT_TABLE = 5, STRINGPREP_BIDI_PROHIBIT_TABLE = 6, STRINGPREP_BIDI_RAL_TABLE = 7, STRINGPREP_BIDI_L_TABLE = 8 } Stringprep_profile_steps; # define STRINGPREP_MAX_MAP_CHARS 4 struct Stringprep_table_element { uint32_t start; uint32_t end; /* 0 if only one character */ uint32_t map[STRINGPREP_MAX_MAP_CHARS]; /* NULL if end is not 0 */ }; typedef struct Stringprep_table_element Stringprep_table_element; struct Stringprep_table { Stringprep_profile_steps operation; Stringprep_profile_flags flags; const Stringprep_table_element *table; }; typedef struct Stringprep_table Stringprep_profile; struct Stringprep_profiles { const char *name; const Stringprep_profile *tables; }; typedef struct Stringprep_profiles Stringprep_profiles; extern IDNAPI const Stringprep_profiles stringprep_profiles[]; /* Profiles */ extern IDNAPI const Stringprep_table_element stringprep_rfc3454_A_1[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_B_1[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_B_2[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_B_3[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_1_1[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_1_2[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_2_1[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_2_2[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_3[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_4[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_5[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_6[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_7[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_8[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_C_9[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_D_1[]; extern IDNAPI const Stringprep_table_element stringprep_rfc3454_D_2[]; /* Nameprep */ extern IDNAPI const Stringprep_profile stringprep_nameprep[]; # define stringprep_nameprep(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_nameprep) # define stringprep_nameprep_no_unassigned(in, maxlen) \ stringprep(in, maxlen, STRINGPREP_NO_UNASSIGNED, stringprep_nameprep) /* SASL */ extern IDNAPI const Stringprep_profile stringprep_saslprep[]; extern IDNAPI const Stringprep_table_element stringprep_saslprep_space_map[]; extern IDNAPI const Stringprep_profile stringprep_plain[]; extern IDNAPI const Stringprep_profile stringprep_trace[]; # define stringprep_plain(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_plain) /* Kerberos */ extern IDNAPI const Stringprep_profile stringprep_kerberos5[]; # define stringprep_kerberos5(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_kerberos5) /* XMPP */ extern IDNAPI const Stringprep_profile stringprep_xmpp_nodeprep[]; extern IDNAPI const Stringprep_profile stringprep_xmpp_resourceprep[]; extern IDNAPI const Stringprep_table_element stringprep_xmpp_nodeprep_prohibit[]; # define stringprep_xmpp_nodeprep(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_xmpp_nodeprep) # define stringprep_xmpp_resourceprep(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_xmpp_resourceprep) /* iSCSI */ extern IDNAPI const Stringprep_profile stringprep_iscsi[]; extern IDNAPI const Stringprep_table_element stringprep_iscsi_prohibit[]; # define stringprep_iscsi(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_iscsi) /* API */ extern IDNAPI int stringprep_4i (uint32_t * ucs4, size_t * len, size_t maxucs4len, Stringprep_profile_flags flags, const Stringprep_profile * profile); extern IDNAPI int stringprep_4zi (uint32_t * ucs4, size_t maxucs4len, Stringprep_profile_flags flags, const Stringprep_profile * profile); extern IDNAPI int stringprep (char *in, size_t maxlen, Stringprep_profile_flags flags, const Stringprep_profile * profile); extern IDNAPI int stringprep_profile (const char *in, char **out, const char *profile, Stringprep_profile_flags flags); extern IDNAPI const char *stringprep_strerror (Stringprep_rc rc); extern IDNAPI const char *stringprep_check_version (const char *req_version); /* Utility */ extern IDNAPI int stringprep_unichar_to_utf8 (uint32_t c, char *outbuf); extern IDNAPI uint32_t stringprep_utf8_to_unichar (const char *p); extern IDNAPI uint32_t *stringprep_utf8_to_ucs4 (const char *str, ssize_t len, size_t * items_written); extern IDNAPI char *stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len, size_t * items_read, size_t * items_written); extern IDNAPI char *stringprep_utf8_nfkc_normalize (const char *str, ssize_t len); extern IDNAPI uint32_t *stringprep_ucs4_nfkc_normalize (uint32_t * str, ssize_t len); extern IDNAPI const char *stringprep_locale_charset (void); extern IDNAPI char *stringprep_convert (const char *str, const char *to_codeset, const char *from_codeset); extern IDNAPI char *stringprep_locale_to_utf8 (const char *str); extern IDNAPI char *stringprep_utf8_to_locale (const char *str); # ifdef __cplusplus } # endif #endif /* STRINGPREP_H */