shill: vpn: Spawn the OpenVPN process when tunnel index becomes available.

BUG=chromium-os:27373
TEST=unit tests

Change-Id: Ie946e4275beff4d5ac176413cc219dbe52356b28
Reviewed-on: https://gerrit.chromium.org/gerrit/17407
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/glib.h b/glib.h
index a3d321b..6f75048 100644
--- a/glib.h
+++ b/glib.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// 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.
 
@@ -132,6 +132,17 @@
                               gpointer user_data,
                               GPid *child_pid,
                               GError **error);
+  // g_spawn_async_with_pipes(NULL, ...
+  virtual gboolean SpawnAsyncWithPipesCWD(gchar **argv,
+                                          gchar **envp,
+                                          GSpawnFlags flags,
+                                          GSpawnChildSetupFunc child_setup,
+                                          gpointer user_data,
+                                          GPid *child_pid,
+                                          gint *standard_input,
+                                          gint *standard_output,
+                                          gint *standard_error,
+                                          GError **error);
   // g_spawn_close_pid
   virtual void SpawnClosePID(GPid pid);
   // g_strfreev