Home | History | Annotate | Line # | Download | only in sys
timex.h revision 1.1
      1 /* $NetBSD: timex.h,v 1.1 2006/05/29 09:57:54 drochner Exp $ */
      2 
      3 /******************************************************************************
      4  *                                                                            *
      5  * Copyright (c) David L. Mills 1993, 1994                                    *
      6  *                                                                            *
      7  * Permission to use, copy, modify, and distribute this software and its      *
      8  * documentation for any purpose and without fee is hereby granted, provided  *
      9  * that the above copyright notice appears in all copies and that both the    *
     10  * copyright notice and this permission notice appear in supporting           *
     11  * documentation, and that the name University of Delaware not be used in     *
     12  * advertising or publicity pertaining to distribution of the software        *
     13  * without specific, written prior permission.  The University of Delaware    *
     14  * makes no representations about the suitability this software for any       *
     15  * purpose.  It is provided "as is" without express or implied warranty.      *
     16  *                                                                            *
     17  ******************************************************************************/
     18 
     19 struct ntptimeval30 {
     20 	struct timeval time;	/* current time (ro) */
     21 	long maxerror;		/* maximum error (us) (ro) */
     22 	long esterror;		/* estimated error (us) (ro) */
     23 };
     24 
     25 #ifndef _KERNEL
     26 int ntp_gettime(struct ntptimeval30 *);
     27 int __ntp_gettime30(struct ntptimeval *);
     28 #endif
     29