/*
- * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.h,v 1.37 2008/09/08 06:51:10 marka Exp $ */
+/* $Id: time.h,v 1.38 2008/09/08 23:47:10 tbox Exp $ */
#ifndef ISC_TIME_H
#define ISC_TIME_H 1
*** Intervals
***/
-/*!
+/*!
* \brief
* The contents of this structure are private, and MUST NOT be accessed
* directly by callers.
/*
- * Copyright (C) 2004, 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2006-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.h,v 1.32 2008/09/08 06:53:10 marka Exp $ */
+/* $Id: time.h,v 1.33 2008/09/08 23:47:10 tbox Exp $ */
#ifndef ISC_TIME_H
#define ISC_TIME_H 1
void
isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
/*%<
- * Set 't' to a value which represents the given number of seconds and
+ * Set 't' to a value which represents the given number of seconds and
* nanoseconds since 00:00:00 January 1, 1970, UTC.
- *
+ *
* Requires:
*\li 't' is a valid pointer.
*\li nanoseconds < 1000000000.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.c,v 1.47 2008/09/08 08:28:08 marka Exp $ */
+/* $Id: time.c,v 1.48 2008/09/08 23:47:10 tbox Exp $ */
#include <config.h>
REQUIRE(t != NULL);
REQUIRE(nanoseconds < NS_PER_S);
-
+
SystemTimeToFileTime(&epoch, &temp);
-
+
i1.LowPart = t->absolute.dwLowDateTime;
i1.HighPart = t->absolute.dwHighDateTime;