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