timelocal.h revision 72183
1330567Sgordon/*- 2275970Scy * Copyright (c) 1997 FreeBSD Inc. 3275970Scy * All rights reserved. 4275970Scy * 5275970Scy * Redistribution and use in source and binary forms, with or without 6330567Sgordon * modification, are permitted provided that the following conditions 7275970Scy * are met: 8275970Scy * 1. Redistributions of source code must retain the above copyright 9275970Scy * notice, this list of conditions and the following disclaimer. 10275970Scy * 2. Redistributions in binary form must reproduce the above copyright 11275970Scy * notice, this list of conditions and the following disclaimer in the 12275970Scy * documentation and/or other materials provided with the distribution. 13275970Scy * 14275970Scy * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15275970Scy * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16275970Scy * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17275970Scy * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18275970Scy * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19275970Scy * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20275970Scy * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21275970Scy * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22275970Scy * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23275970Scy * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24275970Scy * SUCH DAMAGE. 25275970Scy * 26275970Scy * $FreeBSD: head/lib/libc/stdtime/timelocal.h 72183 2001-02-08 20:55:38Z ache $ 27275970Scy */ 28275970Scy 29275970Scy#ifndef _TIMELOCAL_H 30275970Scy#define _TIMELOCAL_H 31275970Scy 32275970Scy/* 33275970Scy * Private header file for the strftime and strptime localization 34275970Scy * stuff. 35275970Scy */ 36275970Scystruct lc_time_T { 37275970Scy const char * mon[12]; 38275970Scy const char * month[12]; 39275970Scy const char * wday[7]; 40275970Scy const char * weekday[7]; 41275970Scy const char * X_fmt; 42275970Scy const char * x_fmt; 43275970Scy const char * c_fmt; 44275970Scy const char * am; 45275970Scy const char * pm; 46275970Scy const char * date_fmt; 47275970Scy const char * alt_month[12]; 48275970Scy const char * Ef_fmt; 49275970Scy const char * EF_fmt; 50275970Scy}; 51275970Scy 52275970Scystruct lc_time_T * __get_current_time_locale(void); 53275970Scy 54275970Scy#endif /* _TIMELOCAL_H */ 55275970Scy