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 290494 2015-11-07 12:43:35Z bapt $
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 *, wchar_t, wchar_t);
132size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *,
133 size_t);
134size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *,
135 size_t);
136__END_DECLS
137
138#endif /* !_COLLATE_H_ */
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 290494 2015-11-07 12:43:35Z bapt $
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 *, wchar_t, wchar_t);
132size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *,
133 size_t);
134size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *,
135 size_t);
136__END_DECLS
137
138#endif /* !_COLLATE_H_ */