128021Sjoerg/*- 289736Sphantom * Copyright (c) 1997-2002 FreeBSD Project. 328021Sjoerg * All rights reserved. 428021Sjoerg * 5235785Stheraven * Copyright (c) 2011 The FreeBSD Foundation 6235785Stheraven * All rights reserved. 7235785Stheraven * Portions of this software were developed by David Chisnall 8235785Stheraven * under sponsorship from the FreeBSD Foundation. 9235785Stheraven * 1028021Sjoerg * Redistribution and use in source and binary forms, with or without 1128021Sjoerg * modification, are permitted provided that the following conditions 1228021Sjoerg * are met: 1328021Sjoerg * 1. Redistributions of source code must retain the above copyright 1428021Sjoerg * notice, this list of conditions and the following disclaimer. 1528021Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 1628021Sjoerg * notice, this list of conditions and the following disclaimer in the 1728021Sjoerg * documentation and/or other materials provided with the distribution. 1828021Sjoerg * 1928021Sjoerg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2028021Sjoerg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2128021Sjoerg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2228021Sjoerg * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2328021Sjoerg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2428021Sjoerg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2528021Sjoerg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2628021Sjoerg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2728021Sjoerg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2828021Sjoerg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2928021Sjoerg * SUCH DAMAGE. 3028021Sjoerg * 3150476Speter * $FreeBSD$ 3228021Sjoerg */ 3328021Sjoerg 3489736Sphantom#ifndef _TIMELOCAL_H_ 3589736Sphantom#define _TIMELOCAL_H_ 36235785Stheraven#include "xlocale_private.h" 3772167Sphantom 3828021Sjoerg/* 3928021Sjoerg * Private header file for the strftime and strptime localization 4028021Sjoerg * stuff. 4128021Sjoerg */ 4228021Sjoergstruct lc_time_T { 4389736Sphantom const char *mon[12]; 4489736Sphantom const char *month[12]; 4589736Sphantom const char *wday[7]; 4689736Sphantom const char *weekday[7]; 4789736Sphantom const char *X_fmt; 4889736Sphantom const char *x_fmt; 4989736Sphantom const char *c_fmt; 5089736Sphantom const char *am; 5189736Sphantom const char *pm; 5289736Sphantom const char *date_fmt; 5389736Sphantom const char *alt_month[12]; 5489736Sphantom const char *md_order; 5589736Sphantom const char *ampm_fmt; 5628021Sjoerg}; 5728021Sjoerg 58235785Stheravenstruct lc_time_T *__get_current_time_locale(locale_t); 5989736Sphantomint __time_load_locale(const char *); 6028021Sjoerg 6189736Sphantom#endif /* !_TIMELOCAL_H_ */ 62