1/*- 2 * Copyright 2010 Nexenta Systems, Inc. All rights reserved. 3 * Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua> 4 * at Electronni Visti IA, Kiev, Ukraine. 5 * All rights reserved. 6 * 7 * Copyright (c) 2011 The FreeBSD Foundation 8 * All rights reserved. --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/lib/libc/locale/collate.h 301461 2016-06-05 19:12:52Z pfg $ |
34 */ 35 36#ifndef _COLLATE_H_ 37#define _COLLATE_H_ 38 39#include <sys/cdefs.h> 40#include <sys/types.h> 41#include <limits.h> --- 81 unchanged lines hidden (view full) --- 123 collate_subst_t *subst_table[COLL_WEIGHTS_MAX]; 124}; 125 126__BEGIN_DECLS 127int __collate_load_tables(const char *); 128int __collate_equiv_value(locale_t, const wchar_t *, size_t); 129void _collate_lookup(struct xlocale_collate *,const wchar_t *, int *, int *, 130 int, const int **); |
131int __collate_range_cmp(struct xlocale_collate *, char, char); 132int __wcollate_range_cmp(struct xlocale_collate *, wchar_t, wchar_t); |
133size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *, 134 size_t); 135size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *, 136 size_t); 137__END_DECLS 138 139#endif /* !_COLLATE_H_ */ |