Annotation of embedaddon/ntp/include/refclock_atom.h, revision 1.1
1.1 ! misho 1: /*
! 2: * Definitions for the atom driver and its friends
! 3: */
! 4: #define NANOSECOND 1000000000 /* one second (ns) */
! 5: #define RANGEGATE 500000 /* range gate (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);
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>