timelocal.h revision 74412
114239Sbde/*- 266830Sobrien * Copyright (c) 1997 FreeBSD Inc. 366830Sobrien * All rights reserved. 466830Sobrien * 566830Sobrien * Redistribution and use in source and binary forms, with or without 666830Sobrien * modification, are permitted provided that the following conditions 766830Sobrien * are met: 866830Sobrien * 1. Redistributions of source code must retain the above copyright 966830Sobrien * notice, this list of conditions and the following disclaimer. 1066830Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1166830Sobrien * notice, this list of conditions and the following disclaimer in the 1266830Sobrien * documentation and/or other materials provided with the distribution. 1366830Sobrien * 1466830Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1566830Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1666830Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1766830Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1866830Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1966830Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2066830Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2166830Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2266830Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2366830Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2466830Sobrien * SUCH DAMAGE. 2566830Sobrien * 2666830Sobrien * $FreeBSD: head/lib/libc/stdtime/timelocal.h 74412 2001-03-18 11:58:15Z ache $ 2750472Speter */ 2866830Sobrien 2914239Sbde#ifndef _TIMELOCAL_H 30100280Sgordon#define _TIMELOCAL_H 31100280Sgordon 32136224Smtm/* 33100280Sgordon * Private header file for the strftime and strptime localization 3413798Smpp * stuff. 351675Sache */ 36114682Sbdestruct lc_time_T { 371675Sache const char * mon[12]; 381675Sache const char * month[12]; 391675Sache const char * wday[7]; 401675Sache const char * weekday[7]; 411675Sache const char * X_fmt; 421675Sache const char * x_fmt; 431675Sache const char * c_fmt; 441675Sache const char * am; 451675Sache const char * pm; 461675Sache const char * date_fmt; 4714239Sbde const char * alt_month[12]; 4814239Sbde const char * md_order; 4914239Sbde const char * ampm_fmt; 50114682Sbde}; 5114239Sbde 521675Sachestruct lc_time_T * __get_current_time_locale(void); 531675Sache 54114682Sbde#endif /* _TIMELOCAL_H */ 5550454Ssheldonh