peerplays-fc/include/fc/network/ntp.hpp
2014-06-11 15:17:28 -04:00

15 lines
258 B
C++

#pragma once
#include <string>
#include <fc/time.hpp>
namespace fc {
class ntp
{
public:
static void set_server( const std::string& hostname, uint16_t port = 123 );
static fc::time_point get_time();
};
} // namespace fc