blob: 4c4a4e5d7c3f87251111633afbdd928343c50f5f [file] [log] [blame]
Elly Jonesad1e9d92012-07-20 15:39:23 -04001// 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 Vakulenko262be3f2014-07-30 15:25:50 -07005#ifndef DEBUGD_SRC_NETIF_TOOL_H_
6#define DEBUGD_SRC_NETIF_TOOL_H_
Elly Jonesad1e9d92012-07-20 15:39:23 -04007
8#include <string>
9
10#include <base/basictypes.h>
11#include <dbus-c++/dbus.h>
12
13namespace debugd {
14
15class NetifTool {
16 public:
Ben Chan78f89532014-08-29 09:35:09 -070017 NetifTool() = default;
18 ~NetifTool() = default;
Elly Jonesad1e9d92012-07-20 15:39:23 -040019
20 std::string GetInterfaces(DBus::Error* error);
Ben Chana0011d82014-05-13 00:19:29 -070021
Elly Jonesad1e9d92012-07-20 15:39:23 -040022 private:
23 DISALLOW_COPY_AND_ASSIGN(NetifTool);
24};
25
Ben Chana0011d82014-05-13 00:19:29 -070026} // namespace debugd
Elly Jonesad1e9d92012-07-20 15:39:23 -040027
Alex Vakulenko262be3f2014-07-30 15:25:50 -070028#endif // DEBUGD_SRC_NETIF_TOOL_H_