diff options
Diffstat (limited to 'tests/ntpd/ntpdtest.h')
-rw-r--r-- | tests/ntpd/ntpdtest.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ntpd/ntpdtest.h b/tests/ntpd/ntpdtest.h new file mode 100644 index 0000000..cc3172a --- /dev/null +++ b/tests/ntpd/ntpdtest.h @@ -0,0 +1,15 @@ +#include "tests_main.h" + +extern "C" { +#include "ntp_stdlib.h" +#include "ntp_calendar.h" +}; + +class ntpdtest : public ntptest { + +protected: + static time_t timefunc(time_t*); + static time_t nowtime; + static void settime(int y, int m, int d, int H, int M, int S); + +}; |