blob: a7b420274d3b6f5b0d04cb9ea04efc6b2e868e85 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_SYS_TIME_LIB_NETWORK_TIME_TIME_SERVER_CONFIG_H_
#define SRC_SYS_TIME_LIB_NETWORK_TIME_TIME_SERVER_CONFIG_H_
#include <string>
#include <vector>
#include "src/sys/time/lib/network_time/roughtime_server.h"
namespace time_server {
class TimeServerConfig {
public:
bool Parse(std::string server_config_file);
std::vector<RoughTimeServer> ServerList();
private:
std::vector<RoughTimeServer> server_list_;
};
} // namespace time_server
#endif // SRC_SYS_TIME_LIB_NETWORK_TIME_TIME_SERVER_CONFIG_H_