19 #ifndef SNARK_TIMING_NTP_H_
20 #define SNARK_TIMING_NTP_H_
22 #include <comma/base/types.h>
23 #include <snark/timing/time.h>
25 namespace snark{
namespace timing {
27 std::pair< comma::uint32, comma::uint32 > to_ntp_time( boost::posix_time::ptime t );
29 boost::posix_time::ptime from_ntp_time( std::pair< comma::uint32, comma::uint32 > ntp );
31 boost::posix_time::ptime from_ntp_time( comma::uint32 seconds, comma::uint32 fractions );