Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / ntp / dist / include / refclock_atom.h
blob5a9c2b39ef1340c09840d1507e0acb0cf9ef4951
1 /* $NetBSD: refclock_atom.h,v 1.1.1.1 2009/12/13 16:54:54 kardel Exp $ */
3 /*
4 * Definitions for the atom driver and its friends
5 */
6 #ifndef NANOSECOND
7 #define NANOSECOND 1000000000 /* one second (ns) */
8 #endif
9 #define RANGEGATE 500000 /* range gate (ns) */
11 struct refclock_atom {
12 pps_handle_t handle;
13 pps_params_t pps_params;
14 struct timespec ts;
17 extern int refclock_ppsapi(int, struct refclock_atom *);
18 extern int refclock_params(int, struct refclock_atom *);
19 extern int refclock_pps(struct peer *, struct refclock_atom *, int);