refclock_atom.h revision 290001
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
7struct refclock_atom {
8	pps_handle_t handle;
9	pps_params_t pps_params;
10	struct timespec ts;
11};
12
13extern	int	refclock_ppsapi(int, struct refclock_atom *);
14extern	int	refclock_params(int, struct refclock_atom *);
15extern	int	refclock_pps(struct peer *, struct refclock_atom *, int);
16