/* ******************************************************************************* * * Copyright (C) 1999-2001, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* * file name: ucol_wgt.h * encoding: US-ASCII * tab size: 8 (not used) * indentation:4 * * created on: 2001mar08 * created by: Markus W. Scherer */ #ifndef UCOL_WGT_H #define UCOL_WGT_H #include "ucol_imp.h" /* definitions for CE weights */ typedef struct WeightRange { uint32_t start, end; int32_t length, count; int32_t length2; uint32_t count2; } WeightRange; /** * Determine heuristically * what ranges to use for a given number of weights between (excluding) * two limits. * * @param lowerLimit A collation element weight; the ranges will be filled to cover * weights greater than this one. * @param upperLimit A collation element weight; the ranges will be filled to cover * weights less than this one. * @param n The number of collation element weights w necessary such that * lowerLimit