peerplays-fc/include/fc/network/ntp.hpp

16 lines
258 B
C++
Raw Normal View History

2014-06-11 19:17:28 +00:00
#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