shill: vpn: Basic class for OpenVPN management server support.

The server will be initialized and started by OpenVPNDriver before spawning
openvpn. Moved to a separate class mostly for testability reasons.

BUG=chromium-os:26994
TEST=unit tests

Change-Id: I5a310a7243d1e8a7f94ec36a9d0f8416c08ab8bb
Reviewed-on: https://gerrit.chromium.org/gerrit/18826
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/openvpn_management_server.h b/openvpn_management_server.h
new file mode 100644
index 0000000..1f622a4
--- /dev/null
+++ b/openvpn_management_server.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 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_OPENVPN_MANAGEMENT_SERVER_
+#define SHILL_OPENVPN_MANAGEMENT_SERVER_
+
+#include <base/basictypes.h>
+
+namespace shill {
+
+class OpenVPNDriver;
+
+class OpenVPNManagementServer {
+ public:
+  OpenVPNManagementServer(OpenVPNDriver *driver);
+  virtual ~OpenVPNManagementServer();
+
+  // Returns true on success, false on failure.
+  bool Init();
+
+ private:
+  OpenVPNDriver *driver_;
+
+  DISALLOW_COPY_AND_ASSIGN(OpenVPNManagementServer);
+};
+
+}  // namespace shill
+
+#endif  // SHILL_OPENVPN_MANAGEMENT_SERVER_