/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* Glenn Fowler
* AT&T Research
*
* time conversion support definitions
*/
#ifndef _TM_H
#define _TM_H
#include <ast.h>
#include <times.h>
/*
* these indices must agree with tm_dform[]
*/
#define TM_MONTH_ABBREV 0
typedef struct /* leap second info */
{
} Tm_leap_t;
typedef struct /* time zone info */
{
} Tm_zone_t;
typedef struct /* tm library readonly data */
{
} Tm_data_t;
typedef struct /* tm library global info */
{
} Tm_info_t;
typedef struct Tm_s
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
} Tm_t;
#if _BLD_ast && defined(__EXPORT__)
#define extern extern __EXPORT__
#endif
#if !_BLD_ast && defined(__IMPORT__)
#define extern extern __IMPORT__
#endif
extern Tm_data_t* _tm_datap_;
extern Tm_info_t* _tm_infop_;
#undef extern
#if _BLD_ast && defined(__EXPORT__)
#define extern __EXPORT__
#endif
extern int tmgoff(const char*, char**, int);
extern int tmlex(const char*, char**, char**, int, char**, int);
extern char** tmlocale(void);
extern int tmword(const char*, char**, const char*, char**, int);
#undef extern
#endif