Mike Frysinger | c52bd4c | 2020-03-18 05:40:25 -0400 | [diff] [blame] | 1 | // 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 | |
| 14 | namespace debugd { |
| 15 | |
| 16 | class IpAddrsTool { |
| 17 | public: |
| 18 | IpAddrsTool() = default; |
Qijiang Fan | 6bc59e1 | 2020-11-11 02:51:06 +0900 | [diff] [blame] | 19 | IpAddrsTool(const IpAddrsTool&) = delete; |
| 20 | IpAddrsTool& operator=(const IpAddrsTool&) = delete; |
| 21 | |
Mike Frysinger | c52bd4c | 2020-03-18 05:40:25 -0400 | [diff] [blame] | 22 | ~IpAddrsTool() = default; |
| 23 | |
| 24 | std::vector<std::string> GetIpAddresses( |
| 25 | const brillo::VariantDictionary& options); |
Mike Frysinger | c52bd4c | 2020-03-18 05:40:25 -0400 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } // namespace debugd |
| 29 | |
| 30 | #endif // DEBUGD_SRC_IPADDRS_TOOL_H_ |