Darin Petkov | 1c11520 | 2012-03-22 15:35:47 +0100 | [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 | |
| 5 | #ifndef SHILL_OPENVPN_MANAGEMENT_SERVER_ |
| 6 | #define SHILL_OPENVPN_MANAGEMENT_SERVER_ |
| 7 | |
| 8 | #include <base/basictypes.h> |
| 9 | |
| 10 | namespace shill { |
| 11 | |
| 12 | class OpenVPNDriver; |
| 13 | |
| 14 | class OpenVPNManagementServer { |
| 15 | public: |
| 16 | OpenVPNManagementServer(OpenVPNDriver *driver); |
| 17 | virtual ~OpenVPNManagementServer(); |
| 18 | |
| 19 | // Returns true on success, false on failure. |
| 20 | bool Init(); |
| 21 | |
| 22 | private: |
| 23 | OpenVPNDriver *driver_; |
| 24 | |
| 25 | DISALLOW_COPY_AND_ASSIGN(OpenVPNManagementServer); |
| 26 | }; |
| 27 | |
| 28 | } // namespace shill |
| 29 | |
| 30 | #endif // SHILL_OPENVPN_MANAGEMENT_SERVER_ |