xref: /freebsd/lib/libc/locale/lnumeric.h (revision f43a321bf056a6ebc2b5617204f39fe35bede460)
1f43a321bSAlexey Zelkin /*-
274f2b975SAlexey Zelkin  * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
390423eceSAlexey Zelkin  * All rights reserved.
490423eceSAlexey Zelkin  *
590423eceSAlexey Zelkin  * Redistribution and use in source and binary forms, with or without
690423eceSAlexey Zelkin  * modification, are permitted provided that the following conditions
790423eceSAlexey Zelkin  * are met:
890423eceSAlexey Zelkin  * 1. Redistributions of source code must retain the above copyright
990423eceSAlexey Zelkin  *    notice, this list of conditions and the following disclaimer.
1090423eceSAlexey Zelkin  * 2. Redistributions in binary form must reproduce the above copyright
1190423eceSAlexey Zelkin  *    notice, this list of conditions and the following disclaimer in the
1290423eceSAlexey Zelkin  *    documentation and/or other materials provided with the distribution.
1390423eceSAlexey Zelkin  *
1490423eceSAlexey Zelkin  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1590423eceSAlexey Zelkin  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1690423eceSAlexey Zelkin  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1790423eceSAlexey Zelkin  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1890423eceSAlexey Zelkin  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1990423eceSAlexey Zelkin  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2090423eceSAlexey Zelkin  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2190423eceSAlexey Zelkin  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2290423eceSAlexey Zelkin  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2390423eceSAlexey Zelkin  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2490423eceSAlexey Zelkin  * SUCH DAMAGE.
2590423eceSAlexey Zelkin  *
2690423eceSAlexey Zelkin  * $FreeBSD$
2790423eceSAlexey Zelkin  */
2890423eceSAlexey Zelkin 
29f43a321bSAlexey Zelkin #ifndef _LNUMERIC_H_
30f43a321bSAlexey Zelkin #define	_LNUMERIC_H_
3190423eceSAlexey Zelkin 
3290423eceSAlexey Zelkin struct lc_numeric_T {
3390423eceSAlexey Zelkin 	const char	*decimal_point;
3490423eceSAlexey Zelkin 	const char	*thousands_sep;
3590423eceSAlexey Zelkin 	const char	*grouping;
3690423eceSAlexey Zelkin };
3790423eceSAlexey Zelkin 
38f43a321bSAlexey Zelkin struct lc_numeric_T *__get_current_numeric_locale(void);
39f43a321bSAlexey Zelkin int	__numeric_load_locale(const char *);
4090423eceSAlexey Zelkin 
41f43a321bSAlexey Zelkin #endif /* !_LNUMERIC_H_ */
42