blob: 275a91b8c81c5c7e6d5db486649982a6478db70b [file] [log] [blame]
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_DHCP_PROXY_INTERFACE_
#define SHILL_DHCP_PROXY_INTERFACE_
#include <string>
namespace shill {
// These are the functions that a DHCP proxy and listener must support.
class DHCPProxyInterface {
public:
virtual ~DHCPProxyInterface() {}
virtual void DoRebind(const std::string &interface) = 0;
virtual void DoRelease(const std::string &interface) = 0;
};
class DHCPListenerInterface {
public:
virtual ~DHCPListenerInterface() {}
};
} // namespace shill
#endif // SHILL_DHCP_PROXY_INTERFACE_