blob: a0b779abef4bbd355ee9af27ca08ecbf6e9f826e [file] [log] [blame]
Mike Frysingerc52bd4c2020-03-18 05:40:25 -04001// Copyright 2020 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef DEBUGD_SRC_IPADDRS_TOOL_H_
6#define DEBUGD_SRC_IPADDRS_TOOL_H_
7
8#include <string>
9#include <vector>
10
11#include <base/macros.h>
12#include <brillo/variant_dictionary.h>
13
14namespace debugd {
15
16class IpAddrsTool {
17 public:
18 IpAddrsTool() = default;
Qijiang Fan6bc59e12020-11-11 02:51:06 +090019 IpAddrsTool(const IpAddrsTool&) = delete;
20 IpAddrsTool& operator=(const IpAddrsTool&) = delete;
21
Mike Frysingerc52bd4c2020-03-18 05:40:25 -040022 ~IpAddrsTool() = default;
23
24 std::vector<std::string> GetIpAddresses(
25 const brillo::VariantDictionary& options);
Mike Frysingerc52bd4c2020-03-18 05:40:25 -040026};
27
28} // namespace debugd
29
30#endif // DEBUGD_SRC_IPADDRS_TOOL_H_