xref: /freebsd/lib/libc/locale/ldpart.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1f43a321bSAlexey Zelkin /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3d915a14eSPedro F. Giffuni  *
474f2b975SAlexey Zelkin  * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
590423eceSAlexey Zelkin  * All rights reserved.
690423eceSAlexey Zelkin  *
790423eceSAlexey Zelkin  * Redistribution and use in source and binary forms, with or without
890423eceSAlexey Zelkin  * modification, are permitted provided that the following conditions
990423eceSAlexey Zelkin  * are met:
1090423eceSAlexey Zelkin  * 1. Redistributions of source code must retain the above copyright
1190423eceSAlexey Zelkin  *    notice, this list of conditions and the following disclaimer.
1290423eceSAlexey Zelkin  * 2. Redistributions in binary form must reproduce the above copyright
1390423eceSAlexey Zelkin  *    notice, this list of conditions and the following disclaimer in the
1490423eceSAlexey Zelkin  *    documentation and/or other materials provided with the distribution.
1590423eceSAlexey Zelkin  *
1690423eceSAlexey Zelkin  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1790423eceSAlexey Zelkin  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1890423eceSAlexey Zelkin  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1990423eceSAlexey Zelkin  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2090423eceSAlexey Zelkin  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2190423eceSAlexey Zelkin  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2290423eceSAlexey Zelkin  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2390423eceSAlexey Zelkin  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2490423eceSAlexey Zelkin  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2590423eceSAlexey Zelkin  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2690423eceSAlexey Zelkin  * SUCH DAMAGE.
2790423eceSAlexey Zelkin  */
2890423eceSAlexey Zelkin 
29f43a321bSAlexey Zelkin #ifndef _LDPART_H_
30f43a321bSAlexey Zelkin #define	_LDPART_H_
3190423eceSAlexey Zelkin 
3276692b80SAndrey A. Chernov #define _LDP_LOADED 0
3376692b80SAndrey A. Chernov #define _LDP_ERROR  (-1)
3476692b80SAndrey A. Chernov #define _LDP_CACHE  1
3576692b80SAndrey A. Chernov 
363dfdc427SJordan K. Hubbard int	__part_load_locale(const char *, int*, char **, const char *,
37fc38c1e5SAlexey Zelkin 		    int, int, const char **);
3890423eceSAlexey Zelkin 
39f43a321bSAlexey Zelkin #endif /* !_LDPART_H_ */
40