#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#if defined(REFCLOCK) && defined(CLOCK_PARSE)
#include "ntp_fp.h"
#include "ntp_unixtime.h"
#include "ntp_calendar.h"
#include "parse.h"
#ifdef CLOCK_SCHMID
extern clockformat_t clock_schmid;
#endif
#ifdef CLOCK_DCF7000
extern clockformat_t clock_dcf7000;
#endif
#ifdef CLOCK_MEINBERG
extern clockformat_t clock_meinberg[];
#endif
#ifdef CLOCK_RAWDCF
extern clockformat_t clock_rawdcf;
#endif
#ifdef CLOCK_TRIMTAIP
extern clockformat_t clock_trimtaip;
#endif
#ifdef CLOCK_TRIMTSIP
extern clockformat_t clock_trimtsip;
#endif
#ifdef CLOCK_RCC8000
extern clockformat_t clock_rcc8000;
#endif
#ifdef CLOCK_HOPF6021
extern clockformat_t clock_hopf6021;
#endif
#ifdef CLOCK_COMPUTIME
extern clockformat_t clock_computime;
#endif
#ifdef CLOCK_WHARTON_400A
extern clockformat_t clock_wharton_400a;
#endif
#ifdef CLOCK_VARITEXT
extern clockformat_t clock_varitext;
#endif
clockformat_t *clockformats[] =
{
#ifdef CLOCK_MEINBERG
&clock_meinberg[0],
&clock_meinberg[1],
&clock_meinberg[2],
#endif
#ifdef CLOCK_DCF7000
&clock_dcf7000,
#endif
#ifdef CLOCK_SCHMID
&clock_schmid,
#endif
#ifdef CLOCK_RAWDCF
&clock_rawdcf,
#endif
#ifdef CLOCK_TRIMTAIP
&clock_trimtaip,
#endif
#ifdef CLOCK_TRIMTSIP
&clock_trimtsip,
#endif
#ifdef CLOCK_RCC8000
&clock_rcc8000,
#endif
#ifdef CLOCK_HOPF6021
&clock_hopf6021,
#endif
#ifdef CLOCK_COMPUTIME
&clock_computime,
#endif
#ifdef CLOCK_WHARTON_400A
&clock_wharton_400a,
#endif
#ifdef CLOCK_VARITEXT
&clock_varitext,
#endif
0};
unsigned short nformats = sizeof(clockformats) / sizeof(clockformats[0]) - 1;
#else
int parse_conf_bs;
#endif