14297a3b0SGarrett D'Amore /* 2*2d08521bSGarrett D'Amore * Copyright 2013 Garrett D'Amore <garrett@damore.org> 34297a3b0SGarrett D'Amore * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> 44297a3b0SGarrett D'Amore * All rights reserved. 54297a3b0SGarrett D'Amore * 64297a3b0SGarrett D'Amore * Redistribution and use in source and binary forms, with or without 74297a3b0SGarrett D'Amore * modification, are permitted provided that the following conditions 84297a3b0SGarrett D'Amore * are met: 94297a3b0SGarrett D'Amore * 1. Redistributions of source code must retain the above copyright 104297a3b0SGarrett D'Amore * notice, this list of conditions and the following disclaimer. 114297a3b0SGarrett D'Amore * 2. Redistributions in binary form must reproduce the above copyright 124297a3b0SGarrett D'Amore * notice, this list of conditions and the following disclaimer in the 134297a3b0SGarrett D'Amore * documentation and/or other materials provided with the distribution. 144297a3b0SGarrett D'Amore * 154297a3b0SGarrett D'Amore * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 164297a3b0SGarrett D'Amore * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 174297a3b0SGarrett D'Amore * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 184297a3b0SGarrett D'Amore * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 194297a3b0SGarrett D'Amore * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 204297a3b0SGarrett D'Amore * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 214297a3b0SGarrett D'Amore * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 224297a3b0SGarrett D'Amore * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 234297a3b0SGarrett D'Amore * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 244297a3b0SGarrett D'Amore * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 254297a3b0SGarrett D'Amore * SUCH DAMAGE. 264297a3b0SGarrett D'Amore */ 274297a3b0SGarrett D'Amore 284297a3b0SGarrett D'Amore #ifndef _LMONETARY_H_ 294297a3b0SGarrett D'Amore #define _LMONETARY_H_ 304297a3b0SGarrett D'Amore 31*2d08521bSGarrett D'Amore struct lc_monetary { 324297a3b0SGarrett D'Amore const char *int_curr_symbol; 334297a3b0SGarrett D'Amore const char *currency_symbol; 344297a3b0SGarrett D'Amore const char *mon_decimal_point; 354297a3b0SGarrett D'Amore const char *mon_thousands_sep; 364297a3b0SGarrett D'Amore const char *mon_grouping; 374297a3b0SGarrett D'Amore const char *positive_sign; 384297a3b0SGarrett D'Amore const char *negative_sign; 394297a3b0SGarrett D'Amore const char *int_frac_digits; 404297a3b0SGarrett D'Amore const char *frac_digits; 414297a3b0SGarrett D'Amore const char *p_cs_precedes; 424297a3b0SGarrett D'Amore const char *p_sep_by_space; 434297a3b0SGarrett D'Amore const char *n_cs_precedes; 444297a3b0SGarrett D'Amore const char *n_sep_by_space; 454297a3b0SGarrett D'Amore const char *p_sign_posn; 464297a3b0SGarrett D'Amore const char *n_sign_posn; 474297a3b0SGarrett D'Amore const char *int_p_cs_precedes; 484297a3b0SGarrett D'Amore const char *int_n_cs_precedes; 494297a3b0SGarrett D'Amore const char *int_p_sep_by_space; 504297a3b0SGarrett D'Amore const char *int_n_sep_by_space; 514297a3b0SGarrett D'Amore const char *int_p_sign_posn; 524297a3b0SGarrett D'Amore const char *int_n_sign_posn; 53*2d08521bSGarrett D'Amore char *crncystr; /* nl_langinfo */ 544297a3b0SGarrett D'Amore }; 554297a3b0SGarrett D'Amore 564297a3b0SGarrett D'Amore int __monetary_load_locale(const char *); 574297a3b0SGarrett D'Amore 584297a3b0SGarrett D'Amore #endif /* !_LMONETARY_H_ */ 59