1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module vte.c.functions;
26 
27 import std.stdio;
28 import vte.c.types;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_VTE = ["libvte-2.91-0.dll;vte-2.91-0.dll;vte-2.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_VTE = ["libvte-2.91.0.dylib"];
35 else
36 	static immutable LIBRARY_VTE = ["libvte-2.91.so.0"];
37 
38 shared static this()
39 {
40 	// vte.Pty
41 
42 	Linker.link(vte_pty_get_type, "vte_pty_get_type", LIBRARY_VTE);
43 	Linker.link(vte_pty_new_foreign_sync, "vte_pty_new_foreign_sync", LIBRARY_VTE);
44 	Linker.link(vte_pty_new_sync, "vte_pty_new_sync", LIBRARY_VTE);
45 	Linker.link(vte_pty_child_setup, "vte_pty_child_setup", LIBRARY_VTE);
46 	Linker.link(vte_pty_close, "vte_pty_close", LIBRARY_VTE);
47 	Linker.link(vte_pty_get_fd, "vte_pty_get_fd", LIBRARY_VTE);
48 	Linker.link(vte_pty_get_size, "vte_pty_get_size", LIBRARY_VTE);
49 	Linker.link(vte_pty_set_size, "vte_pty_set_size", LIBRARY_VTE);
50 	Linker.link(vte_pty_set_utf8, "vte_pty_set_utf8", LIBRARY_VTE);
51 	Linker.link(vte_pty_spawn_async, "vte_pty_spawn_async", LIBRARY_VTE);
52 	Linker.link(vte_pty_spawn_finish, "vte_pty_spawn_finish", LIBRARY_VTE);
53 
54 	// vte.Regex
55 
56 	Linker.link(vte_regex_get_type, "vte_regex_get_type", LIBRARY_VTE);
57 	Linker.link(vte_regex_new_for_match, "vte_regex_new_for_match", LIBRARY_VTE);
58 	Linker.link(vte_regex_new_for_search, "vte_regex_new_for_search", LIBRARY_VTE);
59 	Linker.link(vte_regex_jit, "vte_regex_jit", LIBRARY_VTE);
60 	Linker.link(vte_regex_ref, "vte_regex_ref", LIBRARY_VTE);
61 	Linker.link(vte_regex_substitute, "vte_regex_substitute", LIBRARY_VTE);
62 	Linker.link(vte_regex_unref, "vte_regex_unref", LIBRARY_VTE);
63 
64 	// vte.Terminal
65 
66 	Linker.link(vte_terminal_get_type, "vte_terminal_get_type", LIBRARY_VTE);
67 	Linker.link(vte_terminal_new, "vte_terminal_new", LIBRARY_VTE);
68 	Linker.link(vte_terminal_copy_clipboard, "vte_terminal_copy_clipboard", LIBRARY_VTE);
69 	Linker.link(vte_terminal_copy_clipboard_format, "vte_terminal_copy_clipboard_format", LIBRARY_VTE);
70 	Linker.link(vte_terminal_copy_primary, "vte_terminal_copy_primary", LIBRARY_VTE);
71 	Linker.link(vte_terminal_event_check_gregex_simple, "vte_terminal_event_check_gregex_simple", LIBRARY_VTE);
72 	Linker.link(vte_terminal_event_check_regex_simple, "vte_terminal_event_check_regex_simple", LIBRARY_VTE);
73 	Linker.link(vte_terminal_feed, "vte_terminal_feed", LIBRARY_VTE);
74 	Linker.link(vte_terminal_feed_child, "vte_terminal_feed_child", LIBRARY_VTE);
75 	Linker.link(vte_terminal_feed_child_binary, "vte_terminal_feed_child_binary", LIBRARY_VTE);
76 	Linker.link(vte_terminal_get_allow_bold, "vte_terminal_get_allow_bold", LIBRARY_VTE);
77 	Linker.link(vte_terminal_get_allow_hyperlink, "vte_terminal_get_allow_hyperlink", LIBRARY_VTE);
78 	Linker.link(vte_terminal_get_audible_bell, "vte_terminal_get_audible_bell", LIBRARY_VTE);
79 	Linker.link(vte_terminal_get_bold_is_bright, "vte_terminal_get_bold_is_bright", LIBRARY_VTE);
80 	Linker.link(vte_terminal_get_cell_height_scale, "vte_terminal_get_cell_height_scale", LIBRARY_VTE);
81 	Linker.link(vte_terminal_get_cell_width_scale, "vte_terminal_get_cell_width_scale", LIBRARY_VTE);
82 	Linker.link(vte_terminal_get_char_height, "vte_terminal_get_char_height", LIBRARY_VTE);
83 	Linker.link(vte_terminal_get_char_width, "vte_terminal_get_char_width", LIBRARY_VTE);
84 	Linker.link(vte_terminal_get_cjk_ambiguous_width, "vte_terminal_get_cjk_ambiguous_width", LIBRARY_VTE);
85 	Linker.link(vte_terminal_get_color_background_for_draw, "vte_terminal_get_color_background_for_draw", LIBRARY_VTE);
86 	Linker.link(vte_terminal_get_column_count, "vte_terminal_get_column_count", LIBRARY_VTE);
87 	Linker.link(vte_terminal_get_current_directory_uri, "vte_terminal_get_current_directory_uri", LIBRARY_VTE);
88 	Linker.link(vte_terminal_get_current_file_uri, "vte_terminal_get_current_file_uri", LIBRARY_VTE);
89 	Linker.link(vte_terminal_get_cursor_blink_mode, "vte_terminal_get_cursor_blink_mode", LIBRARY_VTE);
90 	Linker.link(vte_terminal_get_cursor_position, "vte_terminal_get_cursor_position", LIBRARY_VTE);
91 	Linker.link(vte_terminal_get_cursor_shape, "vte_terminal_get_cursor_shape", LIBRARY_VTE);
92 	Linker.link(vte_terminal_get_encoding, "vte_terminal_get_encoding", LIBRARY_VTE);
93 	Linker.link(vte_terminal_get_font, "vte_terminal_get_font", LIBRARY_VTE);
94 	Linker.link(vte_terminal_get_font_scale, "vte_terminal_get_font_scale", LIBRARY_VTE);
95 	Linker.link(vte_terminal_get_geometry_hints, "vte_terminal_get_geometry_hints", LIBRARY_VTE);
96 	Linker.link(vte_terminal_get_has_selection, "vte_terminal_get_has_selection", LIBRARY_VTE);
97 	Linker.link(vte_terminal_get_icon_title, "vte_terminal_get_icon_title", LIBRARY_VTE);
98 	Linker.link(vte_terminal_get_input_enabled, "vte_terminal_get_input_enabled", LIBRARY_VTE);
99 	Linker.link(vte_terminal_get_mouse_autohide, "vte_terminal_get_mouse_autohide", LIBRARY_VTE);
100 	Linker.link(vte_terminal_get_pty, "vte_terminal_get_pty", LIBRARY_VTE);
101 	Linker.link(vte_terminal_get_rewrap_on_resize, "vte_terminal_get_rewrap_on_resize", LIBRARY_VTE);
102 	Linker.link(vte_terminal_get_row_count, "vte_terminal_get_row_count", LIBRARY_VTE);
103 	Linker.link(vte_terminal_get_scroll_on_keystroke, "vte_terminal_get_scroll_on_keystroke", LIBRARY_VTE);
104 	Linker.link(vte_terminal_get_scroll_on_output, "vte_terminal_get_scroll_on_output", LIBRARY_VTE);
105 	Linker.link(vte_terminal_get_scrollback_lines, "vte_terminal_get_scrollback_lines", LIBRARY_VTE);
106 	Linker.link(vte_terminal_get_text, "vte_terminal_get_text", LIBRARY_VTE);
107 	Linker.link(vte_terminal_get_text_blink_mode, "vte_terminal_get_text_blink_mode", LIBRARY_VTE);
108 	Linker.link(vte_terminal_get_text_include_trailing_spaces, "vte_terminal_get_text_include_trailing_spaces", LIBRARY_VTE);
109 	Linker.link(vte_terminal_get_text_range, "vte_terminal_get_text_range", LIBRARY_VTE);
110 	Linker.link(vte_terminal_get_window_title, "vte_terminal_get_window_title", LIBRARY_VTE);
111 	Linker.link(vte_terminal_get_word_char_exceptions, "vte_terminal_get_word_char_exceptions", LIBRARY_VTE);
112 	Linker.link(vte_terminal_hyperlink_check_event, "vte_terminal_hyperlink_check_event", LIBRARY_VTE);
113 	Linker.link(vte_terminal_match_add_gregex, "vte_terminal_match_add_gregex", LIBRARY_VTE);
114 	Linker.link(vte_terminal_match_add_regex, "vte_terminal_match_add_regex", LIBRARY_VTE);
115 	Linker.link(vte_terminal_match_check, "vte_terminal_match_check", LIBRARY_VTE);
116 	Linker.link(vte_terminal_match_check_event, "vte_terminal_match_check_event", LIBRARY_VTE);
117 	Linker.link(vte_terminal_match_remove, "vte_terminal_match_remove", LIBRARY_VTE);
118 	Linker.link(vte_terminal_match_remove_all, "vte_terminal_match_remove_all", LIBRARY_VTE);
119 	Linker.link(vte_terminal_match_set_cursor, "vte_terminal_match_set_cursor", LIBRARY_VTE);
120 	Linker.link(vte_terminal_match_set_cursor_name, "vte_terminal_match_set_cursor_name", LIBRARY_VTE);
121 	Linker.link(vte_terminal_match_set_cursor_type, "vte_terminal_match_set_cursor_type", LIBRARY_VTE);
122 	Linker.link(vte_terminal_paste_clipboard, "vte_terminal_paste_clipboard", LIBRARY_VTE);
123 	Linker.link(vte_terminal_paste_primary, "vte_terminal_paste_primary", LIBRARY_VTE);
124 	Linker.link(vte_terminal_pty_new_sync, "vte_terminal_pty_new_sync", LIBRARY_VTE);
125 	Linker.link(vte_terminal_reset, "vte_terminal_reset", LIBRARY_VTE);
126 	Linker.link(vte_terminal_search_find_next, "vte_terminal_search_find_next", LIBRARY_VTE);
127 	Linker.link(vte_terminal_search_find_previous, "vte_terminal_search_find_previous", LIBRARY_VTE);
128 	Linker.link(vte_terminal_search_get_gregex, "vte_terminal_search_get_gregex", LIBRARY_VTE);
129 	Linker.link(vte_terminal_search_get_regex, "vte_terminal_search_get_regex", LIBRARY_VTE);
130 	Linker.link(vte_terminal_search_get_wrap_around, "vte_terminal_search_get_wrap_around", LIBRARY_VTE);
131 	Linker.link(vte_terminal_search_set_gregex, "vte_terminal_search_set_gregex", LIBRARY_VTE);
132 	Linker.link(vte_terminal_search_set_regex, "vte_terminal_search_set_regex", LIBRARY_VTE);
133 	Linker.link(vte_terminal_search_set_wrap_around, "vte_terminal_search_set_wrap_around", LIBRARY_VTE);
134 	Linker.link(vte_terminal_select_all, "vte_terminal_select_all", LIBRARY_VTE);
135 	Linker.link(vte_terminal_set_allow_bold, "vte_terminal_set_allow_bold", LIBRARY_VTE);
136 	Linker.link(vte_terminal_set_allow_hyperlink, "vte_terminal_set_allow_hyperlink", LIBRARY_VTE);
137 	Linker.link(vte_terminal_set_audible_bell, "vte_terminal_set_audible_bell", LIBRARY_VTE);
138 	Linker.link(vte_terminal_set_backspace_binding, "vte_terminal_set_backspace_binding", LIBRARY_VTE);
139 	Linker.link(vte_terminal_set_bold_is_bright, "vte_terminal_set_bold_is_bright", LIBRARY_VTE);
140 	Linker.link(vte_terminal_set_cell_height_scale, "vte_terminal_set_cell_height_scale", LIBRARY_VTE);
141 	Linker.link(vte_terminal_set_cell_width_scale, "vte_terminal_set_cell_width_scale", LIBRARY_VTE);
142 	Linker.link(vte_terminal_set_cjk_ambiguous_width, "vte_terminal_set_cjk_ambiguous_width", LIBRARY_VTE);
143 	Linker.link(vte_terminal_set_clear_background, "vte_terminal_set_clear_background", LIBRARY_VTE);
144 	Linker.link(vte_terminal_set_color_background, "vte_terminal_set_color_background", LIBRARY_VTE);
145 	Linker.link(vte_terminal_set_color_bold, "vte_terminal_set_color_bold", LIBRARY_VTE);
146 	Linker.link(vte_terminal_set_color_cursor, "vte_terminal_set_color_cursor", LIBRARY_VTE);
147 	Linker.link(vte_terminal_set_color_cursor_foreground, "vte_terminal_set_color_cursor_foreground", LIBRARY_VTE);
148 	Linker.link(vte_terminal_set_color_foreground, "vte_terminal_set_color_foreground", LIBRARY_VTE);
149 	Linker.link(vte_terminal_set_color_highlight, "vte_terminal_set_color_highlight", LIBRARY_VTE);
150 	Linker.link(vte_terminal_set_color_highlight_foreground, "vte_terminal_set_color_highlight_foreground", LIBRARY_VTE);
151 	Linker.link(vte_terminal_set_colors, "vte_terminal_set_colors", LIBRARY_VTE);
152 	Linker.link(vte_terminal_set_cursor_blink_mode, "vte_terminal_set_cursor_blink_mode", LIBRARY_VTE);
153 	Linker.link(vte_terminal_set_cursor_shape, "vte_terminal_set_cursor_shape", LIBRARY_VTE);
154 	Linker.link(vte_terminal_set_default_colors, "vte_terminal_set_default_colors", LIBRARY_VTE);
155 	Linker.link(vte_terminal_set_delete_binding, "vte_terminal_set_delete_binding", LIBRARY_VTE);
156 	Linker.link(vte_terminal_set_encoding, "vte_terminal_set_encoding", LIBRARY_VTE);
157 	Linker.link(vte_terminal_set_font, "vte_terminal_set_font", LIBRARY_VTE);
158 	Linker.link(vte_terminal_set_font_scale, "vte_terminal_set_font_scale", LIBRARY_VTE);
159 	Linker.link(vte_terminal_set_geometry_hints_for_window, "vte_terminal_set_geometry_hints_for_window", LIBRARY_VTE);
160 	Linker.link(vte_terminal_set_input_enabled, "vte_terminal_set_input_enabled", LIBRARY_VTE);
161 	Linker.link(vte_terminal_set_mouse_autohide, "vte_terminal_set_mouse_autohide", LIBRARY_VTE);
162 	Linker.link(vte_terminal_set_pty, "vte_terminal_set_pty", LIBRARY_VTE);
163 	Linker.link(vte_terminal_set_rewrap_on_resize, "vte_terminal_set_rewrap_on_resize", LIBRARY_VTE);
164 	Linker.link(vte_terminal_set_scroll_on_keystroke, "vte_terminal_set_scroll_on_keystroke", LIBRARY_VTE);
165 	Linker.link(vte_terminal_set_scroll_on_output, "vte_terminal_set_scroll_on_output", LIBRARY_VTE);
166 	Linker.link(vte_terminal_set_scrollback_lines, "vte_terminal_set_scrollback_lines", LIBRARY_VTE);
167 	Linker.link(vte_terminal_set_size, "vte_terminal_set_size", LIBRARY_VTE);
168 	Linker.link(vte_terminal_set_text_blink_mode, "vte_terminal_set_text_blink_mode", LIBRARY_VTE);
169 	Linker.link(vte_terminal_set_word_char_exceptions, "vte_terminal_set_word_char_exceptions", LIBRARY_VTE);
170 	Linker.link(vte_terminal_spawn_async, "vte_terminal_spawn_async", LIBRARY_VTE);
171 	Linker.link(vte_terminal_spawn_sync, "vte_terminal_spawn_sync", LIBRARY_VTE);
172 	Linker.link(vte_terminal_unselect_all, "vte_terminal_unselect_all", LIBRARY_VTE);
173 	Linker.link(vte_terminal_watch_child, "vte_terminal_watch_child", LIBRARY_VTE);
174 	Linker.link(vte_terminal_write_contents_sync, "vte_terminal_write_contents_sync", LIBRARY_VTE);
175 	Linker.link(vte_get_user_shell, "vte_get_user_shell", LIBRARY_VTE);
176 
177 	// vte.Version
178 
179 	Linker.link(vte_get_features, "vte_get_features", LIBRARY_VTE);
180 	Linker.link(vte_get_major_version, "vte_get_major_version", LIBRARY_VTE);
181 	Linker.link(vte_get_micro_version, "vte_get_micro_version", LIBRARY_VTE);
182 	Linker.link(vte_get_minor_version, "vte_get_minor_version", LIBRARY_VTE);
183 }
184 
185 __gshared extern(C)
186 {
187 
188 	// vte.Pty
189 
190 	GType function() c_vte_pty_get_type;
191 	VtePty* function(int fd, GCancellable* cancellable, GError** err) c_vte_pty_new_foreign_sync;
192 	VtePty* function(VtePtyFlags flags, GCancellable* cancellable, GError** err) c_vte_pty_new_sync;
193 	void function(VtePty* pty) c_vte_pty_child_setup;
194 	void function(VtePty* pty) c_vte_pty_close;
195 	int function(VtePty* pty) c_vte_pty_get_fd;
196 	int function(VtePty* pty, int* rows, int* columns, GError** err) c_vte_pty_get_size;
197 	int function(VtePty* pty, int rows, int columns, GError** err) c_vte_pty_set_size;
198 	int function(VtePty* pty, int utf8, GError** err) c_vte_pty_set_utf8;
199 	void function(VtePty* pty, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GDestroyNotify childSetupDataDestroy, int timeout, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_vte_pty_spawn_async;
200 	int function(VtePty* pty, GAsyncResult* result, GPid* childPid, GError** err) c_vte_pty_spawn_finish;
201 
202 	// vte.Regex
203 
204 	GType function() c_vte_regex_get_type;
205 	VteRegex* function(const(char)* pattern, ptrdiff_t patternLength, uint flags, GError** err) c_vte_regex_new_for_match;
206 	VteRegex* function(const(char)* pattern, ptrdiff_t patternLength, uint flags, GError** err) c_vte_regex_new_for_search;
207 	int function(VteRegex* regex, uint flags, GError** err) c_vte_regex_jit;
208 	VteRegex* function(VteRegex* regex) c_vte_regex_ref;
209 	char* function(VteRegex* regex, const(char)* subject, const(char)* replacement, uint flags, GError** err) c_vte_regex_substitute;
210 	VteRegex* function(VteRegex* regex) c_vte_regex_unref;
211 
212 	// vte.Terminal
213 
214 	GType function() c_vte_terminal_get_type;
215 	GtkWidget* function() c_vte_terminal_new;
216 	void function(VteTerminal* terminal) c_vte_terminal_copy_clipboard;
217 	void function(VteTerminal* terminal, VteFormat format) c_vte_terminal_copy_clipboard_format;
218 	void function(VteTerminal* terminal) c_vte_terminal_copy_primary;
219 	int function(VteTerminal* terminal, GdkEvent* event, GRegex** regexes, size_t nRegexes, GRegexMatchFlags matchFlags, char** matches) c_vte_terminal_event_check_gregex_simple;
220 	int function(VteTerminal* terminal, GdkEvent* event, VteRegex** regexes, size_t nRegexes, uint matchFlags, char** matches) c_vte_terminal_event_check_regex_simple;
221 	void function(VteTerminal* terminal, char* data, ptrdiff_t length) c_vte_terminal_feed;
222 	void function(VteTerminal* terminal, char* text, ptrdiff_t length) c_vte_terminal_feed_child;
223 	void function(VteTerminal* terminal, ubyte* data, size_t length) c_vte_terminal_feed_child_binary;
224 	int function(VteTerminal* terminal) c_vte_terminal_get_allow_bold;
225 	int function(VteTerminal* terminal) c_vte_terminal_get_allow_hyperlink;
226 	int function(VteTerminal* terminal) c_vte_terminal_get_audible_bell;
227 	int function(VteTerminal* terminal) c_vte_terminal_get_bold_is_bright;
228 	double function(VteTerminal* terminal) c_vte_terminal_get_cell_height_scale;
229 	double function(VteTerminal* terminal) c_vte_terminal_get_cell_width_scale;
230 	glong function(VteTerminal* terminal) c_vte_terminal_get_char_height;
231 	glong function(VteTerminal* terminal) c_vte_terminal_get_char_width;
232 	int function(VteTerminal* terminal) c_vte_terminal_get_cjk_ambiguous_width;
233 	void function(VteTerminal* terminal, GdkRGBA* color) c_vte_terminal_get_color_background_for_draw;
234 	glong function(VteTerminal* terminal) c_vte_terminal_get_column_count;
235 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_current_directory_uri;
236 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_current_file_uri;
237 	VteCursorBlinkMode function(VteTerminal* terminal) c_vte_terminal_get_cursor_blink_mode;
238 	void function(VteTerminal* terminal, glong* column, glong* row) c_vte_terminal_get_cursor_position;
239 	VteCursorShape function(VteTerminal* terminal) c_vte_terminal_get_cursor_shape;
240 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_encoding;
241 	PangoFontDescription* function(VteTerminal* terminal) c_vte_terminal_get_font;
242 	double function(VteTerminal* terminal) c_vte_terminal_get_font_scale;
243 	void function(VteTerminal* terminal, GdkGeometry* hints, int minRows, int minColumns) c_vte_terminal_get_geometry_hints;
244 	int function(VteTerminal* terminal) c_vte_terminal_get_has_selection;
245 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_icon_title;
246 	int function(VteTerminal* terminal) c_vte_terminal_get_input_enabled;
247 	int function(VteTerminal* terminal) c_vte_terminal_get_mouse_autohide;
248 	VtePty* function(VteTerminal* terminal) c_vte_terminal_get_pty;
249 	int function(VteTerminal* terminal) c_vte_terminal_get_rewrap_on_resize;
250 	glong function(VteTerminal* terminal) c_vte_terminal_get_row_count;
251 	int function(VteTerminal* terminal) c_vte_terminal_get_scroll_on_keystroke;
252 	int function(VteTerminal* terminal) c_vte_terminal_get_scroll_on_output;
253 	glong function(VteTerminal* terminal) c_vte_terminal_get_scrollback_lines;
254 	char* function(VteTerminal* terminal, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text;
255 	VteTextBlinkMode function(VteTerminal* terminal) c_vte_terminal_get_text_blink_mode;
256 	char* function(VteTerminal* terminal, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text_include_trailing_spaces;
257 	char* function(VteTerminal* terminal, glong startRow, glong startCol, glong endRow, glong endCol, VteSelectionFunc isSelected, void* userData, GArray* attributes) c_vte_terminal_get_text_range;
258 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_window_title;
259 	const(char)* function(VteTerminal* terminal) c_vte_terminal_get_word_char_exceptions;
260 	char* function(VteTerminal* terminal, GdkEvent* event) c_vte_terminal_hyperlink_check_event;
261 	int function(VteTerminal* terminal, GRegex* gregex, GRegexMatchFlags gflags) c_vte_terminal_match_add_gregex;
262 	int function(VteTerminal* terminal, VteRegex* regex, uint flags) c_vte_terminal_match_add_regex;
263 	char* function(VteTerminal* terminal, glong column, glong row, int* tag) c_vte_terminal_match_check;
264 	char* function(VteTerminal* terminal, GdkEvent* event, int* tag) c_vte_terminal_match_check_event;
265 	void function(VteTerminal* terminal, int tag) c_vte_terminal_match_remove;
266 	void function(VteTerminal* terminal) c_vte_terminal_match_remove_all;
267 	void function(VteTerminal* terminal, int tag, GdkCursor* cursor) c_vte_terminal_match_set_cursor;
268 	void function(VteTerminal* terminal, int tag, const(char)* cursorName) c_vte_terminal_match_set_cursor_name;
269 	void function(VteTerminal* terminal, int tag, GdkCursorType cursorType) c_vte_terminal_match_set_cursor_type;
270 	void function(VteTerminal* terminal) c_vte_terminal_paste_clipboard;
271 	void function(VteTerminal* terminal) c_vte_terminal_paste_primary;
272 	VtePty* function(VteTerminal* terminal, VtePtyFlags flags, GCancellable* cancellable, GError** err) c_vte_terminal_pty_new_sync;
273 	void function(VteTerminal* terminal, int clearTabstops, int clearHistory) c_vte_terminal_reset;
274 	int function(VteTerminal* terminal) c_vte_terminal_search_find_next;
275 	int function(VteTerminal* terminal) c_vte_terminal_search_find_previous;
276 	GRegex* function(VteTerminal* terminal) c_vte_terminal_search_get_gregex;
277 	VteRegex* function(VteTerminal* terminal) c_vte_terminal_search_get_regex;
278 	int function(VteTerminal* terminal) c_vte_terminal_search_get_wrap_around;
279 	void function(VteTerminal* terminal, GRegex* gregex, GRegexMatchFlags gflags) c_vte_terminal_search_set_gregex;
280 	void function(VteTerminal* terminal, VteRegex* regex, uint flags) c_vte_terminal_search_set_regex;
281 	void function(VteTerminal* terminal, int wrapAround) c_vte_terminal_search_set_wrap_around;
282 	void function(VteTerminal* terminal) c_vte_terminal_select_all;
283 	void function(VteTerminal* terminal, int allowBold) c_vte_terminal_set_allow_bold;
284 	void function(VteTerminal* terminal, int allowHyperlink) c_vte_terminal_set_allow_hyperlink;
285 	void function(VteTerminal* terminal, int isAudible) c_vte_terminal_set_audible_bell;
286 	void function(VteTerminal* terminal, VteEraseBinding binding) c_vte_terminal_set_backspace_binding;
287 	void function(VteTerminal* terminal, int boldIsBright) c_vte_terminal_set_bold_is_bright;
288 	void function(VteTerminal* terminal, double scale) c_vte_terminal_set_cell_height_scale;
289 	void function(VteTerminal* terminal, double scale) c_vte_terminal_set_cell_width_scale;
290 	void function(VteTerminal* terminal, int width) c_vte_terminal_set_cjk_ambiguous_width;
291 	void function(VteTerminal* terminal, int setting) c_vte_terminal_set_clear_background;
292 	void function(VteTerminal* terminal, GdkRGBA* background) c_vte_terminal_set_color_background;
293 	void function(VteTerminal* terminal, GdkRGBA* bold) c_vte_terminal_set_color_bold;
294 	void function(VteTerminal* terminal, GdkRGBA* cursorBackground) c_vte_terminal_set_color_cursor;
295 	void function(VteTerminal* terminal, GdkRGBA* cursorForeground) c_vte_terminal_set_color_cursor_foreground;
296 	void function(VteTerminal* terminal, GdkRGBA* foreground) c_vte_terminal_set_color_foreground;
297 	void function(VteTerminal* terminal, GdkRGBA* highlightBackground) c_vte_terminal_set_color_highlight;
298 	void function(VteTerminal* terminal, GdkRGBA* highlightForeground) c_vte_terminal_set_color_highlight_foreground;
299 	void function(VteTerminal* terminal, GdkRGBA* foreground, GdkRGBA* background, GdkRGBA* palette, size_t paletteSize) c_vte_terminal_set_colors;
300 	void function(VteTerminal* terminal, VteCursorBlinkMode mode) c_vte_terminal_set_cursor_blink_mode;
301 	void function(VteTerminal* terminal, VteCursorShape shape) c_vte_terminal_set_cursor_shape;
302 	void function(VteTerminal* terminal) c_vte_terminal_set_default_colors;
303 	void function(VteTerminal* terminal, VteEraseBinding binding) c_vte_terminal_set_delete_binding;
304 	int function(VteTerminal* terminal, const(char)* codeset, GError** err) c_vte_terminal_set_encoding;
305 	void function(VteTerminal* terminal, PangoFontDescription* fontDesc) c_vte_terminal_set_font;
306 	void function(VteTerminal* terminal, double scale) c_vte_terminal_set_font_scale;
307 	void function(VteTerminal* terminal, GtkWindow* window) c_vte_terminal_set_geometry_hints_for_window;
308 	void function(VteTerminal* terminal, int enabled) c_vte_terminal_set_input_enabled;
309 	void function(VteTerminal* terminal, int setting) c_vte_terminal_set_mouse_autohide;
310 	void function(VteTerminal* terminal, VtePty* pty) c_vte_terminal_set_pty;
311 	void function(VteTerminal* terminal, int rewrap) c_vte_terminal_set_rewrap_on_resize;
312 	void function(VteTerminal* terminal, int scroll) c_vte_terminal_set_scroll_on_keystroke;
313 	void function(VteTerminal* terminal, int scroll) c_vte_terminal_set_scroll_on_output;
314 	void function(VteTerminal* terminal, glong lines) c_vte_terminal_set_scrollback_lines;
315 	void function(VteTerminal* terminal, glong columns, glong rows) c_vte_terminal_set_size;
316 	void function(VteTerminal* terminal, VteTextBlinkMode textBlinkMode) c_vte_terminal_set_text_blink_mode;
317 	void function(VteTerminal* terminal, const(char)* exceptions) c_vte_terminal_set_word_char_exceptions;
318 	void function(VteTerminal* terminal, VtePtyFlags ptyFlags, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GDestroyNotify childSetupDataDestroy, int timeout, GCancellable* cancellable, VteTerminalSpawnAsyncCallback callback, void* userData) c_vte_terminal_spawn_async;
319 	int function(VteTerminal* terminal, VtePtyFlags ptyFlags, const(char)* workingDirectory, char** argv, char** envv, GSpawnFlags spawnFlags, GSpawnChildSetupFunc childSetup, void* childSetupData, GPid* childPid, GCancellable* cancellable, GError** err) c_vte_terminal_spawn_sync;
320 	void function(VteTerminal* terminal) c_vte_terminal_unselect_all;
321 	void function(VteTerminal* terminal, GPid childPid) c_vte_terminal_watch_child;
322 	int function(VteTerminal* terminal, GOutputStream* stream, VteWriteFlags flags, GCancellable* cancellable, GError** err) c_vte_terminal_write_contents_sync;
323 	char* function() c_vte_get_user_shell;
324 
325 	// vte.Version
326 
327 	const(char)* function() c_vte_get_features;
328 	uint function() c_vte_get_major_version;
329 	uint function() c_vte_get_micro_version;
330 	uint function() c_vte_get_minor_version;
331 }
332 
333 
334 // vte.Pty
335 
336 alias c_vte_pty_get_type vte_pty_get_type;
337 alias c_vte_pty_new_foreign_sync vte_pty_new_foreign_sync;
338 alias c_vte_pty_new_sync vte_pty_new_sync;
339 alias c_vte_pty_child_setup vte_pty_child_setup;
340 alias c_vte_pty_close vte_pty_close;
341 alias c_vte_pty_get_fd vte_pty_get_fd;
342 alias c_vte_pty_get_size vte_pty_get_size;
343 alias c_vte_pty_set_size vte_pty_set_size;
344 alias c_vte_pty_set_utf8 vte_pty_set_utf8;
345 alias c_vte_pty_spawn_async vte_pty_spawn_async;
346 alias c_vte_pty_spawn_finish vte_pty_spawn_finish;
347 
348 // vte.Regex
349 
350 alias c_vte_regex_get_type vte_regex_get_type;
351 alias c_vte_regex_new_for_match vte_regex_new_for_match;
352 alias c_vte_regex_new_for_search vte_regex_new_for_search;
353 alias c_vte_regex_jit vte_regex_jit;
354 alias c_vte_regex_ref vte_regex_ref;
355 alias c_vte_regex_substitute vte_regex_substitute;
356 alias c_vte_regex_unref vte_regex_unref;
357 
358 // vte.Terminal
359 
360 alias c_vte_terminal_get_type vte_terminal_get_type;
361 alias c_vte_terminal_new vte_terminal_new;
362 alias c_vte_terminal_copy_clipboard vte_terminal_copy_clipboard;
363 alias c_vte_terminal_copy_clipboard_format vte_terminal_copy_clipboard_format;
364 alias c_vte_terminal_copy_primary vte_terminal_copy_primary;
365 alias c_vte_terminal_event_check_gregex_simple vte_terminal_event_check_gregex_simple;
366 alias c_vte_terminal_event_check_regex_simple vte_terminal_event_check_regex_simple;
367 alias c_vte_terminal_feed vte_terminal_feed;
368 alias c_vte_terminal_feed_child vte_terminal_feed_child;
369 alias c_vte_terminal_feed_child_binary vte_terminal_feed_child_binary;
370 alias c_vte_terminal_get_allow_bold vte_terminal_get_allow_bold;
371 alias c_vte_terminal_get_allow_hyperlink vte_terminal_get_allow_hyperlink;
372 alias c_vte_terminal_get_audible_bell vte_terminal_get_audible_bell;
373 alias c_vte_terminal_get_bold_is_bright vte_terminal_get_bold_is_bright;
374 alias c_vte_terminal_get_cell_height_scale vte_terminal_get_cell_height_scale;
375 alias c_vte_terminal_get_cell_width_scale vte_terminal_get_cell_width_scale;
376 alias c_vte_terminal_get_char_height vte_terminal_get_char_height;
377 alias c_vte_terminal_get_char_width vte_terminal_get_char_width;
378 alias c_vte_terminal_get_cjk_ambiguous_width vte_terminal_get_cjk_ambiguous_width;
379 alias c_vte_terminal_get_color_background_for_draw vte_terminal_get_color_background_for_draw;
380 alias c_vte_terminal_get_column_count vte_terminal_get_column_count;
381 alias c_vte_terminal_get_current_directory_uri vte_terminal_get_current_directory_uri;
382 alias c_vte_terminal_get_current_file_uri vte_terminal_get_current_file_uri;
383 alias c_vte_terminal_get_cursor_blink_mode vte_terminal_get_cursor_blink_mode;
384 alias c_vte_terminal_get_cursor_position vte_terminal_get_cursor_position;
385 alias c_vte_terminal_get_cursor_shape vte_terminal_get_cursor_shape;
386 alias c_vte_terminal_get_encoding vte_terminal_get_encoding;
387 alias c_vte_terminal_get_font vte_terminal_get_font;
388 alias c_vte_terminal_get_font_scale vte_terminal_get_font_scale;
389 alias c_vte_terminal_get_geometry_hints vte_terminal_get_geometry_hints;
390 alias c_vte_terminal_get_has_selection vte_terminal_get_has_selection;
391 alias c_vte_terminal_get_icon_title vte_terminal_get_icon_title;
392 alias c_vte_terminal_get_input_enabled vte_terminal_get_input_enabled;
393 alias c_vte_terminal_get_mouse_autohide vte_terminal_get_mouse_autohide;
394 alias c_vte_terminal_get_pty vte_terminal_get_pty;
395 alias c_vte_terminal_get_rewrap_on_resize vte_terminal_get_rewrap_on_resize;
396 alias c_vte_terminal_get_row_count vte_terminal_get_row_count;
397 alias c_vte_terminal_get_scroll_on_keystroke vte_terminal_get_scroll_on_keystroke;
398 alias c_vte_terminal_get_scroll_on_output vte_terminal_get_scroll_on_output;
399 alias c_vte_terminal_get_scrollback_lines vte_terminal_get_scrollback_lines;
400 alias c_vte_terminal_get_text vte_terminal_get_text;
401 alias c_vte_terminal_get_text_blink_mode vte_terminal_get_text_blink_mode;
402 alias c_vte_terminal_get_text_include_trailing_spaces vte_terminal_get_text_include_trailing_spaces;
403 alias c_vte_terminal_get_text_range vte_terminal_get_text_range;
404 alias c_vte_terminal_get_window_title vte_terminal_get_window_title;
405 alias c_vte_terminal_get_word_char_exceptions vte_terminal_get_word_char_exceptions;
406 alias c_vte_terminal_hyperlink_check_event vte_terminal_hyperlink_check_event;
407 alias c_vte_terminal_match_add_gregex vte_terminal_match_add_gregex;
408 alias c_vte_terminal_match_add_regex vte_terminal_match_add_regex;
409 alias c_vte_terminal_match_check vte_terminal_match_check;
410 alias c_vte_terminal_match_check_event vte_terminal_match_check_event;
411 alias c_vte_terminal_match_remove vte_terminal_match_remove;
412 alias c_vte_terminal_match_remove_all vte_terminal_match_remove_all;
413 alias c_vte_terminal_match_set_cursor vte_terminal_match_set_cursor;
414 alias c_vte_terminal_match_set_cursor_name vte_terminal_match_set_cursor_name;
415 alias c_vte_terminal_match_set_cursor_type vte_terminal_match_set_cursor_type;
416 alias c_vte_terminal_paste_clipboard vte_terminal_paste_clipboard;
417 alias c_vte_terminal_paste_primary vte_terminal_paste_primary;
418 alias c_vte_terminal_pty_new_sync vte_terminal_pty_new_sync;
419 alias c_vte_terminal_reset vte_terminal_reset;
420 alias c_vte_terminal_search_find_next vte_terminal_search_find_next;
421 alias c_vte_terminal_search_find_previous vte_terminal_search_find_previous;
422 alias c_vte_terminal_search_get_gregex vte_terminal_search_get_gregex;
423 alias c_vte_terminal_search_get_regex vte_terminal_search_get_regex;
424 alias c_vte_terminal_search_get_wrap_around vte_terminal_search_get_wrap_around;
425 alias c_vte_terminal_search_set_gregex vte_terminal_search_set_gregex;
426 alias c_vte_terminal_search_set_regex vte_terminal_search_set_regex;
427 alias c_vte_terminal_search_set_wrap_around vte_terminal_search_set_wrap_around;
428 alias c_vte_terminal_select_all vte_terminal_select_all;
429 alias c_vte_terminal_set_allow_bold vte_terminal_set_allow_bold;
430 alias c_vte_terminal_set_allow_hyperlink vte_terminal_set_allow_hyperlink;
431 alias c_vte_terminal_set_audible_bell vte_terminal_set_audible_bell;
432 alias c_vte_terminal_set_backspace_binding vte_terminal_set_backspace_binding;
433 alias c_vte_terminal_set_bold_is_bright vte_terminal_set_bold_is_bright;
434 alias c_vte_terminal_set_cell_height_scale vte_terminal_set_cell_height_scale;
435 alias c_vte_terminal_set_cell_width_scale vte_terminal_set_cell_width_scale;
436 alias c_vte_terminal_set_cjk_ambiguous_width vte_terminal_set_cjk_ambiguous_width;
437 alias c_vte_terminal_set_clear_background vte_terminal_set_clear_background;
438 alias c_vte_terminal_set_color_background vte_terminal_set_color_background;
439 alias c_vte_terminal_set_color_bold vte_terminal_set_color_bold;
440 alias c_vte_terminal_set_color_cursor vte_terminal_set_color_cursor;
441 alias c_vte_terminal_set_color_cursor_foreground vte_terminal_set_color_cursor_foreground;
442 alias c_vte_terminal_set_color_foreground vte_terminal_set_color_foreground;
443 alias c_vte_terminal_set_color_highlight vte_terminal_set_color_highlight;
444 alias c_vte_terminal_set_color_highlight_foreground vte_terminal_set_color_highlight_foreground;
445 alias c_vte_terminal_set_colors vte_terminal_set_colors;
446 alias c_vte_terminal_set_cursor_blink_mode vte_terminal_set_cursor_blink_mode;
447 alias c_vte_terminal_set_cursor_shape vte_terminal_set_cursor_shape;
448 alias c_vte_terminal_set_default_colors vte_terminal_set_default_colors;
449 alias c_vte_terminal_set_delete_binding vte_terminal_set_delete_binding;
450 alias c_vte_terminal_set_encoding vte_terminal_set_encoding;
451 alias c_vte_terminal_set_font vte_terminal_set_font;
452 alias c_vte_terminal_set_font_scale vte_terminal_set_font_scale;
453 alias c_vte_terminal_set_geometry_hints_for_window vte_terminal_set_geometry_hints_for_window;
454 alias c_vte_terminal_set_input_enabled vte_terminal_set_input_enabled;
455 alias c_vte_terminal_set_mouse_autohide vte_terminal_set_mouse_autohide;
456 alias c_vte_terminal_set_pty vte_terminal_set_pty;
457 alias c_vte_terminal_set_rewrap_on_resize vte_terminal_set_rewrap_on_resize;
458 alias c_vte_terminal_set_scroll_on_keystroke vte_terminal_set_scroll_on_keystroke;
459 alias c_vte_terminal_set_scroll_on_output vte_terminal_set_scroll_on_output;
460 alias c_vte_terminal_set_scrollback_lines vte_terminal_set_scrollback_lines;
461 alias c_vte_terminal_set_size vte_terminal_set_size;
462 alias c_vte_terminal_set_text_blink_mode vte_terminal_set_text_blink_mode;
463 alias c_vte_terminal_set_word_char_exceptions vte_terminal_set_word_char_exceptions;
464 alias c_vte_terminal_spawn_async vte_terminal_spawn_async;
465 alias c_vte_terminal_spawn_sync vte_terminal_spawn_sync;
466 alias c_vte_terminal_unselect_all vte_terminal_unselect_all;
467 alias c_vte_terminal_watch_child vte_terminal_watch_child;
468 alias c_vte_terminal_write_contents_sync vte_terminal_write_contents_sync;
469 alias c_vte_get_user_shell vte_get_user_shell;
470 
471 // vte.Version
472 
473 alias c_vte_get_features vte_get_features;
474 alias c_vte_get_major_version vte_get_major_version;
475 alias c_vte_get_micro_version vte_get_micro_version;
476 alias c_vte_get_minor_version vte_get_minor_version;