/usr/include/vte-2.91/vte/vtepty.h is in libvte-2.91-dev 0.42.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /*
* Copyright © 2009, 2010 Christian Persch
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __VTE_VTE_PTY_H__
#define __VTE_VTE_PTY_H__
#if !defined (__VTE_VTE_H_INSIDE__) && !defined (VTE_COMPILATION)
#error "Only <vte/vte.h> can be included directly."
#endif
#include <gio/gio.h>
#include "vteenums.h"
#include "vtemacros.h"
G_BEGIN_DECLS
#define VTE_SPAWN_NO_PARENT_ENVV (1 << 25)
GQuark vte_pty_error_quark (void);
/**
* VTE_PTY_ERROR:
*
* Error domain for VTE PTY errors. Errors in this domain will be from the #VtePtyError
* enumeration. See #GError for more information on error domains.
*/
#define VTE_PTY_ERROR (vte_pty_error_quark ())
/* VTE PTY object */
#define VTE_TYPE_PTY (vte_pty_get_type())
#define VTE_PTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VTE_TYPE_PTY, VtePty))
#define VTE_PTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VTE_TYPE_PTY, VtePtyClass))
#define VTE_IS_PTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VTE_TYPE_PTY))
#define VTE_IS_PTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VTE_TYPE_PTY))
#define VTE_PTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VTE_TYPE_PTY, VtePtyClass))
typedef struct _VtePty VtePty;
typedef struct _VtePtyClass VtePtyClass;
GType vte_pty_get_type (void);
VtePty *vte_pty_new_sync (VtePtyFlags flags,
GCancellable *cancellable,
GError **error);
VtePty *vte_pty_new_foreign_sync (int fd,
GCancellable *cancellable,
GError **error);
int vte_pty_get_fd (VtePty *pty) _VTE_GNUC_NONNULL(1);
void vte_pty_child_setup (VtePty *pty) _VTE_GNUC_NONNULL(1);
gboolean vte_pty_get_size (VtePty *pty,
int *rows,
int *columns,
GError **error) _VTE_GNUC_NONNULL(1);
gboolean vte_pty_set_size (VtePty *pty,
int rows,
int columns,
GError **error) _VTE_GNUC_NONNULL(1);
gboolean vte_pty_set_utf8 (VtePty *pty,
gboolean utf8,
GError **error) _VTE_GNUC_NONNULL(1);
G_END_DECLS
#endif /* __VTE_VTE_PTY_H__ */
|