freebsd-skq/include/xlocale
Thomas Munro cc7edd258c Add collation version support to querylocale(3).
Provide a way to ask for an opaque version string for a locale_t, so
that potential changes in sort order can be detected.  Similar to
ICU's ucol_getVersion() and Windows' GetNLSVersionEx(), this API is
intended to allow databases to detect when text order-based indexes
might need to be rebuilt.

The CLDR version is extracted from CLDR source data by the Makefile
under tools/tools/locale, written into the machine-generated Makefile
under shared/colldef, passed to localedef -V, and then written into
LC_COLLATE file headers.  The initial version is 34.0.
tools/tools/locale was recently updated to pull down 35.0, but the
output hasn't been committed under share/colldef yet, so that will
provide the first observable change when it happens.  Other versioning
schemes are possible in future, because the format is unspecified.

Reviewed by:	bapt, 0mp, kib, yuripv (albeit a long time ago)
Differential Revision:	https://reviews.freebsd.org/D17166
2020-11-08 02:50:34 +00:00
..
_ctype.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_inttypes.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_langinfo.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_locale.h Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
_monetary.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_stdio.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_stdlib.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_string.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_strings.h
_time.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_uchar.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
_wchar.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
Makefile
Makefile.depend