/************************************************************************/
/* $Header: usrTime.h,v 1.1 91/09/06 16:05:01 hebo Exp $		*/
/* Summary  : Unix-compatible Time Definitions and Declarations		*/
/* Filename : usrTime.h							*/
/* Author   : Bob Herlien (rah)						*/
/* Project  : ROV 1.5							*/
/* $Revision: 1.1 $							*/
/* Created  : 02/28/91							*/
/************************************************************************/
/* Modification History:						*/
/* $Log:	usrTime.h,v $
 * Revision 1.1  91/09/06  16:05:01  16:05:01  hebo (Bob Herlien 408-647-3748)
 * Various minor fixes, found while porting ntp
 * 
 * Revision 1.0  91/08/09  11:10:57  11:10:57  hebo (Bob Herlien 408-647-3748)
 * Initial revision
 * 	*/
/* 28feb91 rah, Ported from HP-UX <sys/time.h> and vxWorks <systime.h>	*/
/************************************************************************/

#ifndef INCusrtimeh
#define INCusrtimeh	1

#ifndef NULL
#define NULL (char *)0
#endif

#define SECS_PER_DAY	86400L		/* Seconds per day		    */
#define USECS_PER_SEC	1000000L	/* Microseconds per second	    */

#define YEAR0		70		/* Unix Epoch year (1970)	    */
#define DAY0		4		/* 1jan1970 was a Thursday	    */

#ifdef __cplusplus
extern "C" {
#endif

#  ifdef __STDC__
extern int	stime(long *);
extern int	adjtime( struct timeval *delta, struct timeval *olddelta );
extern int	gettimeofday( struct timeval *tp, struct timezone *tzp );
extern int 	settimeofday(struct timeval *, struct timezone *);
#  else /* __STDC__ */
extern int	stime();
extern int	adjtime();
extern int 	gettimeofday();
extern int 	settimeofday();
#  endif /* __STDC__ */

extern long timezone;

#ifdef __cplusplus
}
#endif

#endif /* INCusrtimeh */



