stdbool.h   stdbool.h 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
#if !defined _GL_STDBOOL_H
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
#include <stdbool.h> #include <stdbool.h>
#else
#endif
#endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 stdint.h   stdint.h 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
#include <stddef.h>
#if __GLIBC__ >= 2
#include <stdint.h> #include <stdint.h>
#else
/* Copyright (C) 2001-2002, 2004-2009 Free Software Foundation, Inc.
Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood.
This file is part of gnulib.
This program 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, or (at your option)
any later version.
This program 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 this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
/*
* Subset of ISO C 99 <stdint.h> for platforms that lack it.
* <http://www.opengroup.org/susv3xbd/stdint.h.html>
*/
#ifndef _UNISTRING_STDINT_H
/* When including a system file that in turn includes <inttypes.h>,
use the system <inttypes.h>, not our substitute. This avoids
problems with (for example) VMS, whose <sys/bitypes.h> includes
<inttypes.h>. */
#define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
/* Get those types that are already defined in other system include
files, so that we can "#define int8_t signed char" below without
worrying about a later system include file containing a "typedef
signed char int8_t;" that will get messed up by our macro. Our
macros should all be consistent with the system versions, except
for the "fast" types and macros, which we recommend against using
in public interfaces due to compiler differences. */
#if 1
# if defined __sgi && ! defined __c99
/* Bypass IRIX's <stdint.h> if in C89 mode, since it merely annoys users
with "This header file is to be used only for c99 mode compilations"
diagnostics. */
# define __STDINT_H__
# endif
/* Other systems may have an incomplete or buggy <stdint.h>.
Include it before <inttypes.h>, since any "#include <stdint.h>"
in <inttypes.h> would reinclude us, skipping our contents because
_UNISTRING_STDINT_H is defined.
The include_next requires a split double-inclusion guard. */
# if __GNUC__ >= 3
# endif
# include <stdint.h>
#endif
#if ! defined _UNISTRING_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDI
NT_H
#define _UNISTRING_STDINT_H
/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
AIX 5.2 <sys/types.h> isn't needed and causes troubles.
MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
relies on the system <stdint.h> definitions, so include
<sys/types.h> after <stdint.h>. */
#if 1 && ! defined _AIX
# include <sys/types.h>
#endif
/* Get LONG_MIN, LONG_MAX, ULONG_MAX. */
#include <limits.h>
#if 1
/* In OpenBSD 3.8, <inttypes.h> includes <machine/types.h>, which defines
int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__.
<inttypes.h> also defines intptr_t and uintptr_t. */
# include <inttypes.h>
#elif 0
/* Solaris 7 <sys/inttypes.h> has the types except the *_fast*_t types, a
nd
the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX.
*/
# include <sys/inttypes.h>
#endif
#if 0 && ! defined __BIT_TYPES_DEFINED__
/* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is
included by <sys/types.h>. */
# include <sys/bitypes.h>
#endif
#undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
/* 7.18.1.1. Exact-width integer types */
/* Here we assume a standard architecture where the hardware integer
types have 8, 16, 32, optionally 64 bits. */
#undef int8_t
#undef uint8_t
typedef signed char unistring_int8_t;
typedef unsigned char unistring_uint8_t;
#define int8_t unistring_int8_t
#define uint8_t unistring_uint8_t
#undef int16_t
#undef uint16_t
typedef short int unistring_int16_t;
typedef unsigned short int unistring_uint16_t;
#define int16_t unistring_int16_t
#define uint16_t unistring_uint16_t
#undef int32_t
#undef uint32_t
typedef int unistring_int32_t;
typedef unsigned int unistring_uint32_t;
#define int32_t unistring_int32_t
#define uint32_t unistring_uint32_t
/* Avoid collision with Solaris 2.5.1 <pthread.h> etc. */
#define _UINT8_T
#define _UINT32_T
#define _UINT64_T
#endif /* _UNISTRING_STDINT_H */
#endif /* !defined _UNISTRING_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_
STDINT_H */
#endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 unicase.h   unicase.h 
skipping to change at line 137 skipping to change at line 137
uint8_t *resultbuf, size_t *lengthp); uint8_t *resultbuf, size_t *lengthp);
extern uint16_t * extern uint16_t *
u16_totitle (const uint16_t *s, size_t n, const char *iso639_languag e, u16_totitle (const uint16_t *s, size_t n, const char *iso639_languag e,
uninorm_t nf, uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp); uint16_t *resultbuf, size_t *lengthp);
extern uint32_t * extern uint32_t *
u32_totitle (const uint32_t *s, size_t n, const char *iso639_languag e, u32_totitle (const uint32_t *s, size_t n, const char *iso639_languag e,
uninorm_t nf, uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp); uint32_t *resultbuf, size_t *lengthp);
/* The case-mapping context given by a prefix string. */
typedef struct casing_prefix_context
{
/* These fields are private, undocumented. */
uint32_t last_char_except_ignorable;
uint32_t last_char_normal_or_above;
}
casing_prefix_context_t;
/* The case-mapping context of the empty prefix string. */
extern LIBUNISTRING_DLL_VARIABLE const casing_prefix_context_t unicase_empt
y_prefix_context;
/* Return the case-mapping context of a given prefix string. */
extern casing_prefix_context_t
u8_casing_prefix_context (const uint8_t *s, size_t n);
extern casing_prefix_context_t
u16_casing_prefix_context (const uint16_t *s, size_t n);
extern casing_prefix_context_t
u32_casing_prefix_context (const uint32_t *s, size_t n);
/* Return the case-mapping context of the prefix concat(A, S), given the
case-mapping context of the prefix A. */
extern casing_prefix_context_t
u8_casing_prefixes_context (const uint8_t *s, size_t n,
casing_prefix_context_t a_context);
extern casing_prefix_context_t
u16_casing_prefixes_context (const uint16_t *s, size_t n,
casing_prefix_context_t a_context);
extern casing_prefix_context_t
u32_casing_prefixes_context (const uint32_t *s, size_t n,
casing_prefix_context_t a_context);
/* The case-mapping context given by a suffix string. */
typedef struct casing_suffix_context
{
/* These fields are private, undocumented. */
uint32_t first_char_except_ignorable;
uint32_t bits;
}
casing_suffix_context_t;
/* The case-mapping context of the empty suffix string. */
extern LIBUNISTRING_DLL_VARIABLE const casing_suffix_context_t unicase_empt
y_suffix_context;
/* Return the case-mapping context of a given suffix string. */
extern casing_suffix_context_t
u8_casing_suffix_context (const uint8_t *s, size_t n);
extern casing_suffix_context_t
u16_casing_suffix_context (const uint16_t *s, size_t n);
extern casing_suffix_context_t
u32_casing_suffix_context (const uint32_t *s, size_t n);
/* Return the case-mapping context of the suffix concat(S, A), given the
case-mapping context of the suffix A. */
extern casing_suffix_context_t
u8_casing_suffixes_context (const uint8_t *s, size_t n,
casing_suffix_context_t a_context);
extern casing_suffix_context_t
u16_casing_suffixes_context (const uint16_t *s, size_t n,
casing_suffix_context_t a_context);
extern casing_suffix_context_t
u32_casing_suffixes_context (const uint32_t *s, size_t n,
casing_suffix_context_t a_context);
/* Return the uppercase mapping of a string that is surrounded by a prefix
and a suffix. */
extern uint8_t *
u8_ct_toupper (const uint8_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint8_t *resultbuf, size_t *lengthp);
extern uint16_t *
u16_ct_toupper (const uint16_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp);
extern uint32_t *
u32_ct_toupper (const uint32_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp);
/* Return the lowercase mapping of a string that is surrounded by a prefix
and a suffix. */
extern uint8_t *
u8_ct_tolower (const uint8_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint8_t *resultbuf, size_t *lengthp);
extern uint16_t *
u16_ct_tolower (const uint16_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp);
extern uint32_t *
u32_ct_tolower (const uint32_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp);
/* Return the titlecase mapping of a string that is surrounded by a prefix
and a suffix. */
extern uint8_t *
u8_ct_totitle (const uint8_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint8_t *resultbuf, size_t *lengthp);
extern uint16_t *
u16_ct_totitle (const uint16_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp);
extern uint32_t *
u32_ct_totitle (const uint32_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp);
/* Return the case folded string. /* Return the case folded string.
Comparing uN_casefold (S1) and uN_casefold (S2) with uN_cmp2() is equiva lent Comparing uN_casefold (S1) and uN_casefold (S2) with uN_cmp2() is equiva lent
to comparing S1 and S2 with uN_casecmp(). to comparing S1 and S2 with uN_casecmp().
The nf argument identifies the normalization form to apply after the The nf argument identifies the normalization form to apply after the
case-mapping. It can also be NULL, for no normalization. */ case-mapping. It can also be NULL, for no normalization. */
extern uint8_t * extern uint8_t *
u8_casefold (const uint8_t *s, size_t n, const char *iso639_language , u8_casefold (const uint8_t *s, size_t n, const char *iso639_language ,
uninorm_t nf, uninorm_t nf,
uint8_t *resultbuf, size_t *lengthp); uint8_t *resultbuf, size_t *lengthp);
extern uint16_t * extern uint16_t *
u16_casefold (const uint16_t *s, size_t n, const char *iso639_langua ge, u16_casefold (const uint16_t *s, size_t n, const char *iso639_langua ge,
uninorm_t nf, uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp); uint16_t *resultbuf, size_t *lengthp);
extern uint32_t * extern uint32_t *
u32_casefold (const uint32_t *s, size_t n, const char *iso639_langua ge, u32_casefold (const uint32_t *s, size_t n, const char *iso639_langua ge,
uninorm_t nf, uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp); uint32_t *resultbuf, size_t *lengthp);
/* Likewise, for a string that is surrounded by a prefix and a suffix. */
extern uint8_t *
u8_ct_casefold (const uint8_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint8_t *resultbuf, size_t *lengthp);
extern uint16_t *
u16_ct_casefold (const uint16_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint16_t *resultbuf, size_t *lengthp);
extern uint32_t *
u32_ct_casefold (const uint32_t *s, size_t n,
casing_prefix_context_t prefix_context,
casing_suffix_context_t suffix_context,
const char *iso639_language,
uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp);
/* Compare S1 and S2, ignoring differences in case and normalization. /* Compare S1 and S2, ignoring differences in case and normalization.
The nf argument identifies the normalization form to apply after the The nf argument identifies the normalization form to apply after the
case-mapping. It can also be NULL, for no normalization. case-mapping. It can also be NULL, for no normalization.
If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2 , and If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2 , and
return 0. Upon failure, return -1 with errno set. */ return 0. Upon failure, return -1 with errno set. */
extern int extern int
u8_casecmp (const uint8_t *s1, size_t n1, u8_casecmp (const uint8_t *s1, size_t n1,
const uint8_t *s2, size_t n2, const uint8_t *s2, size_t n2,
const char *iso639_language, uninorm_t nf, int *resultp); const char *iso639_language, uninorm_t nf, int *resultp);
skipping to change at line 177 skipping to change at line 329
const char *iso639_language, uninorm_t nf, int *resultp) ; const char *iso639_language, uninorm_t nf, int *resultp) ;
extern int extern int
u32_casecmp (const uint32_t *s1, size_t n1, u32_casecmp (const uint32_t *s1, size_t n1,
const uint32_t *s2, size_t n2, const uint32_t *s2, size_t n2,
const char *iso639_language, uninorm_t nf, int *resultp) ; const char *iso639_language, uninorm_t nf, int *resultp) ;
extern int extern int
ulc_casecmp (const char *s1, size_t n1, ulc_casecmp (const char *s1, size_t n1,
const char *s2, size_t n2, const char *s2, size_t n2,
const char *iso639_language, uninorm_t nf, int *resultp) ; const char *iso639_language, uninorm_t nf, int *resultp) ;
/* Convert the string S of length N to a string in locale encoding, in such /* Convert the string S of length N to a NUL-terminated byte sequence, in s
a uch
way that comparing uN_casexfrm (S1) and uN_casexfrm (S2) with memcmp2() a way that comparing uN_casexfrm (S1) and uN_casexfrm (S2) with the gnul
is ib
equivalent to comparing S1 and S2 with uN_casecoll(). function memcmp2() is equivalent to comparing S1 and S2 with uN_casecoll
().
NF must be either UNINORM_NFC, UNINORM_NFKC, or NULL for no normalizatio n. */ NF must be either UNINORM_NFC, UNINORM_NFKC, or NULL for no normalizatio n. */
extern char * extern char *
u8_casexfrm (const uint8_t *s, size_t n, const char *iso639_language , u8_casexfrm (const uint8_t *s, size_t n, const char *iso639_language ,
uninorm_t nf, char *resultbuf, size_t *lengthp); uninorm_t nf, char *resultbuf, size_t *lengthp);
extern char * extern char *
u16_casexfrm (const uint16_t *s, size_t n, const char *iso639_langua ge, u16_casexfrm (const uint16_t *s, size_t n, const char *iso639_langua ge,
uninorm_t nf, char *resultbuf, size_t *lengthp); uninorm_t nf, char *resultbuf, size_t *lengthp);
extern char * extern char *
u32_casexfrm (const uint32_t *s, size_t n, const char *iso639_langua ge, u32_casexfrm (const uint32_t *s, size_t n, const char *iso639_langua ge,
uninorm_t nf, char *resultbuf, size_t *lengthp); uninorm_t nf, char *resultbuf, size_t *lengthp);
 End of changes. 3 change blocks. 
5 lines changed or deleted 160 lines changed or added


 uninorm.h   uninorm.h 
skipping to change at line 162 skipping to change at line 162
extern int extern int
u8_normcmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, u8_normcmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2,
uninorm_t nf, int *resultp); uninorm_t nf, int *resultp);
extern int extern int
u16_normcmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size _t n2, u16_normcmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size _t n2,
uninorm_t nf, int *resultp); uninorm_t nf, int *resultp);
extern int extern int
u32_normcmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size _t n2, u32_normcmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size _t n2,
uninorm_t nf, int *resultp); uninorm_t nf, int *resultp);
/* Converts the string S of length N to a string in locale encoding, in suc /* Converts the string S of length N to a NUL-terminated byte sequence, in
h a such
way that comparing uN_normxfrm (S1) and uN_normxfrm (S2) with uN_cmp2() a way that comparing uN_normxfrm (S1) and uN_normxfrm (S2) with uN_cmp2(
is ) is
equivalent to comparing S1 and S2 with uN_normcoll(). equivalent to comparing S1 and S2 with uN_normcoll().
NF must be either UNINORM_NFC or UNINORM_NFKC. */ NF must be either UNINORM_NFC or UNINORM_NFKC. */
extern char * extern char *
u8_normxfrm (const uint8_t *s, size_t n, uninorm_t nf, u8_normxfrm (const uint8_t *s, size_t n, uninorm_t nf,
char *resultbuf, size_t *lengthp); char *resultbuf, size_t *lengthp);
extern char * extern char *
u16_normxfrm (const uint16_t *s, size_t n, uninorm_t nf, u16_normxfrm (const uint16_t *s, size_t n, uninorm_t nf,
char *resultbuf, size_t *lengthp); char *resultbuf, size_t *lengthp);
extern char * extern char *
u32_normxfrm (const uint32_t *s, size_t n, uninorm_t nf, u32_normxfrm (const uint32_t *s, size_t n, uninorm_t nf,
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added


 unistr.h   unistr.h 
skipping to change at line 405 skipping to change at line 405
/* Compare S1 and S2, each of length N. */ /* Compare S1 and S2, each of length N. */
/* Similar to memcmp(). */ /* Similar to memcmp(). */
extern int extern int
u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n); u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n);
extern int extern int
u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n); u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n);
extern int extern int
u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n); u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n);
/* Compare S1 and S2. */ /* Compare S1 and S2. */
/* Similar to memcmp2(). */ /* Similar to the gnulib function memcmp2(). */
extern int extern int
u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) ; u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) ;
extern int extern int
u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2); u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2);
extern int extern int
u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2); u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2);
/* Search the string at S for UC. */ /* Search the string at S for UC. */
/* Similar to memchr(). */ /* Similar to memchr(). */
extern uint8_t * extern uint8_t *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/