]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/include/refclock_atom.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / include / refclock_atom.h
1 /*
2  * Definitions for the atom driver and its friends
3  */
4 #undef NANOSECOND       /* some systems define it differently */
5 #define NANOSECOND      1000000000 /* one second (ns) */
6
7 struct refclock_atom {
8         pps_handle_t handle;
9         pps_params_t pps_params;
10         struct timespec ts;
11 };
12
13 extern  int     refclock_ppsapi(int, struct refclock_atom *);
14 extern  int     refclock_params(int, struct refclock_atom *);
15 extern  int     refclock_pps(struct peer *, struct refclock_atom *, int);