Home
last modified time | relevance | path

Searched refs:leap_table_t (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/ntpd/
H A Dntp_leapsec.c61 static leap_table_t _ltab[2], *_lptr;
65 static int add_range (leap_table_t *, const leap_info_t *);
70 static void reload_limits (leap_table_t *, const vint64 *);
71 static void fetch_leap_era (leap_era_t *, const leap_table_t *,
74 static void reset_times (leap_table_t *);
75 static int leapsec_add (leap_table_t *, const vint64 *, int);
76 static int leapsec_raw (leap_table_t *, const vint64 *, int,
85 leap_table_t *
89 leap_table_t *p1, *p2;
104 memcpy(p2, p1, sizeof(leap_table_t));
[all...]
H A Dntp_leapsec.h25 typedef struct leap_table leap_table_t; typedef
150 extern leap_table_t *leapsec_get_table(int alternate);
156 extern int/*BOOL*/ leapsec_set_table(leap_table_t *);
159 extern void leapsec_clear(leap_table_t*);
165 extern int/*BOOL*/ leapsec_load(leap_table_t*, leapsec_reader,
171 extern void leapsec_dump(const leap_table_t*, leapsec_dumper func, void *farg);