timelocal.h revision 89736
128021Sjoerg/*- 289736Sphantom * Copyright (c) 1997-2002 FreeBSD Project. 328021Sjoerg * All rights reserved. 428021Sjoerg * 528021Sjoerg * Redistribution and use in source and binary forms, with or without 628021Sjoerg * modification, are permitted provided that the following conditions 728021Sjoerg * are met: 828021Sjoerg * 1. Redistributions of source code must retain the above copyright 928021Sjoerg * notice, this list of conditions and the following disclaimer. 1028021Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 1128021Sjoerg * notice, this list of conditions and the following disclaimer in the 1228021Sjoerg * documentation and/or other materials provided with the distribution. 1328021Sjoerg * 1428021Sjoerg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1528021Sjoerg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1628021Sjoerg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1728021Sjoerg * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1828021Sjoerg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1928021Sjoerg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2028021Sjoerg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2128021Sjoerg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2228021Sjoerg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2328021Sjoerg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2428021Sjoerg * SUCH DAMAGE. 2528021Sjoerg * 2650476Speter * $FreeBSD: head/lib/libc/stdtime/timelocal.h 89736 2002-01-24 15:07:44Z phantom $ 2728021Sjoerg */ 2828021Sjoerg 2989736Sphantom#ifndef _TIMELOCAL_H_ 3089736Sphantom#define _TIMELOCAL_H_ 3172167Sphantom 3228021Sjoerg/* 3328021Sjoerg * Private header file for the strftime and strptime localization 3428021Sjoerg * stuff. 3528021Sjoerg */ 3628021Sjoergstruct lc_time_T { 3789736Sphantom const char *mon[12]; 3889736Sphantom const char *month[12]; 3989736Sphantom const char *wday[7]; 4089736Sphantom const char *weekday[7]; 4189736Sphantom const char *X_fmt; 4289736Sphantom const char *x_fmt; 4389736Sphantom const char *c_fmt; 4489736Sphantom const char *am; 4589736Sphantom const char *pm; 4689736Sphantom const char *date_fmt; 4789736Sphantom const char *alt_month[12]; 4889736Sphantom const char *md_order; 4989736Sphantom const char *ampm_fmt; 5028021Sjoerg}; 5128021Sjoerg 5289736Sphantomstruct lc_time_T *__get_current_time_locale(void); 5389736Sphantomint __time_load_locale(const char *); 5428021Sjoerg 5589736Sphantom#endif /* !_TIMELOCAL_H_ */ 56