188309Sphantom/*- 287658Sphantom * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> 372165Sphantom * All rights reserved. 472165Sphantom * 5227753Stheraven * Copyright (c) 2011 The FreeBSD Foundation 6227753Stheraven * All rights reserved. 7227753Stheraven * Portions of this software were developed by David Chisnall 8227753Stheraven * under sponsorship from the FreeBSD Foundation. 9227753Stheraven * 1072165Sphantom * Redistribution and use in source and binary forms, with or without 1172165Sphantom * modification, are permitted provided that the following conditions 1272165Sphantom * are met: 1372165Sphantom * 1. Redistributions of source code must retain the above copyright 1472165Sphantom * notice, this list of conditions and the following disclaimer. 1572165Sphantom * 2. Redistributions in binary form must reproduce the above copyright 1672165Sphantom * notice, this list of conditions and the following disclaimer in the 1772165Sphantom * documentation and/or other materials provided with the distribution. 1872165Sphantom * 1972165Sphantom * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2072165Sphantom * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2172165Sphantom * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2272165Sphantom * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2372165Sphantom * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2472165Sphantom * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2572165Sphantom * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2672165Sphantom * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2772165Sphantom * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2872165Sphantom * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2972165Sphantom * SUCH DAMAGE. 3072165Sphantom * 3172165Sphantom * $FreeBSD: releng/10.2/lib/libc/locale/lnumeric.h 227753 2011-11-20 14:45:42Z theraven $ 3272165Sphantom */ 3372165Sphantom 3488309Sphantom#ifndef _LNUMERIC_H_ 3588309Sphantom#define _LNUMERIC_H_ 36227753Stheraven#include "xlocale_private.h" 3772165Sphantom 3872165Sphantomstruct lc_numeric_T { 3988309Sphantom const char *decimal_point; 4088309Sphantom const char *thousands_sep; 4188309Sphantom const char *grouping; 4272165Sphantom}; 43227753Stheravenstruct xlocale_numeric { 44227753Stheraven struct xlocale_component header; 45227753Stheraven char *buffer; 46227753Stheraven struct lc_numeric_T locale; 47227753Stheraven}; 4872165Sphantom 49227753Stheravenstruct lc_numeric_T *__get_current_numeric_locale(locale_t loc); 5088309Sphantomint __numeric_load_locale(const char *); 5172165Sphantom 5288309Sphantom#endif /* !_LNUMERIC_H_ */ 53