ldpart.h revision 101498
1130561Sobrien/*-
2130561Sobrien * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
3130561Sobrien * All rights reserved.
4130561Sobrien *
5130561Sobrien * Redistribution and use in source and binary forms, with or without
6130561Sobrien * modification, are permitted provided that the following conditions
7130561Sobrien * are met:
8218822Sdim * 1. Redistributions of source code must retain the above copyright
9218822Sdim *    notice, this list of conditions and the following disclaimer.
10130561Sobrien * 2. Redistributions in binary form must reproduce the above copyright
11130561Sobrien *    notice, this list of conditions and the following disclaimer in the
12130561Sobrien *    documentation and/or other materials provided with the distribution.
13130561Sobrien *
14130561Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15130561Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16130561Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17130561Sobrien * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18130561Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19130561Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20130561Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21130561Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22130561Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23130561Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24130561Sobrien * SUCH DAMAGE.
25130561Sobrien *
26130561Sobrien * $FreeBSD: head/lib/libc/locale/ldpart.h 101498 2002-08-08 05:51:54Z ache $
27130561Sobrien */
28130561Sobrien
29130561Sobrien#ifndef _LDPART_H_
30130561Sobrien#define	_LDPART_H_
31130561Sobrien
32130561Sobrien#define _LDP_LOADED 0
33130561Sobrien#define _LDP_ERROR  (-1)
34130561Sobrien#define _LDP_CACHE  1
35130561Sobrien
36130561Sobrienint	__part_load_locale(const char *, int*, char *, const char *,
37130561Sobrien		    int, int, const char **);
38130561Sobrien
39130561Sobrien#endif /* !_LDPART_H_ */
40130561Sobrien