1 /*
2  * Copyright © 2009, 2010 Christian Persch
3  *
4  * This is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; either version 2.1 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this program; if not, write to the Free Software
16  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 
19 G_BEGIN_DECLS
20 
21 VtePtyFlags __vte_pty_get_pty_flags(gboolean lastlog,
22                                     gboolean utmp,
23                                     gboolean wtmp);
24 
25 char **__vte_pty_get_argv (const char *command,
26                            char **argv,
27                            GSpawnFlags *flags /* inout */);
28 
29 gboolean __vte_pty_spawn (VtePty *pty,
30                           const char *working_directory,
31                           char **argv,
32                           char **envv,
33                           GSpawnFlags spawn_flags,
34                           GSpawnChildSetupFunc child_setup,
35                           gpointer child_setup_data,
36                           GPid *child_pid /* out */,
37                           GError **error);
38 
39 gboolean __vte_pty_fork(VtePty *pty,
40                         GPid *pid,
41                         GError **error);
42 
43 G_END_DECLS
44