~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to ports/winnt/include/clockstuff.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-10-11 16:10:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041011161027-icyjbji8ujym633o
Tags: 1:4.2.0a-10ubuntu2
Use ntp.ubuntulinux.org instead of pool.ntp.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _CLOCKSTUFF_H
2
2
#define _CLOCKSTUFF_H
3
3
 
 
4
#include "ntp_machine.h"
4
5
#include <time.h>
5
6
#include <sys\timeb.h>
6
7
 
7
 
#include "ntp_machine.h"
8
8
#include "ntp_syslog.h"
9
9
 
10
10
/* Windows NT versions of gettimeofday and settimeofday
13
13
 * therefore switched to GetSystemTimeAsFileTime()
14
14
 */
15
15
 
 
16
void init_winnt_time(void);
 
17
void reset_winnt_time(void);
 
18
 
16
19
/* 100ns intervals between 1/1/1601 and 1/1/1970 as reported by
17
20
 * SystemTimeToFileTime()
18
21
 */