Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 1 | // Copyright (c) 2012 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 | |
Alex Vakulenko | 262be3f | 2014-07-30 15:25:50 -0700 | [diff] [blame] | 5 | #ifndef DEBUGD_SRC_NETIF_TOOL_H_ |
| 6 | #define DEBUGD_SRC_NETIF_TOOL_H_ |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 7 | |
| 8 | #include <string> |
| 9 | |
Ben Chan | 657bed8 | 2014-09-02 20:40:51 -0700 | [diff] [blame] | 10 | #include <base/macros.h> |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 11 | |
| 12 | namespace debugd { |
| 13 | |
| 14 | class NetifTool { |
| 15 | public: |
Ben Chan | 78f8953 | 2014-08-29 09:35:09 -0700 | [diff] [blame] | 16 | NetifTool() = default; |
Qijiang Fan | 6bc59e1 | 2020-11-11 02:51:06 +0900 | [diff] [blame^] | 17 | NetifTool(const NetifTool&) = delete; |
| 18 | NetifTool& operator=(const NetifTool&) = delete; |
| 19 | |
Ben Chan | 78f8953 | 2014-08-29 09:35:09 -0700 | [diff] [blame] | 20 | ~NetifTool() = default; |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 21 | |
Eric Caruso | c93a15c | 2017-04-24 16:15:12 -0700 | [diff] [blame] | 22 | std::string GetInterfaces(); |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 23 | }; |
| 24 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame] | 25 | } // namespace debugd |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 26 | |
Alex Vakulenko | 262be3f | 2014-07-30 15:25:50 -0700 | [diff] [blame] | 27 | #endif // DEBUGD_SRC_NETIF_TOOL_H_ |