blob: 3f1ff8f32cc4acbf3446c38a8e0835ee221e80d3 [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.
#pragma once
#include <string>
namespace netconnector {
// Determines whether we have a NIC with a valid address.
bool NetworkIsReady();
// Gets the host name, possibly deduped using the host address.
std::string GetHostName();
} // namespace netconnector