blob: 9ecc739a70bfc7e7bab3f68c6a84777849609f5c [file] [log] [blame]
Darin Petkov50308cd2011-06-01 18:25:07 -07001// Copyright (c) 2011 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 SHILL_DHCP_PROXY_INTERFACE_
6#define SHILL_DHCP_PROXY_INTERFACE_
7
Darin Petkovd1b715b2011-06-02 21:21:22 -07008#include <string>
9
Darin Petkov50308cd2011-06-01 18:25:07 -070010namespace shill {
11
12// These are the functions that a DHCP proxy and listener must support.
13class DHCPProxyInterface {
14 public:
15 virtual ~DHCPProxyInterface() {}
Darin Petkovd1b715b2011-06-02 21:21:22 -070016
17 virtual void DoRebind(const std::string &interface) = 0;
Darin Petkov50308cd2011-06-01 18:25:07 -070018};
19
20class DHCPListenerInterface {
21 public:
22 virtual ~DHCPListenerInterface() {}
23};
24
25} // namespace shill
26
27#endif // SHILL_DHCP_PROXY_INTERFACE_