summaryrefslogtreecommitdiff
path: root/docs/libtsm.sym
blob: e5acf022a51b581106a5d93fb1603a9c8645365a (plain)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
 * libtsm - Terminal-Emulator State Machine
 *
 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files
 * (the "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

LIBTSM_1 {
global:
	tsm_ucs4_get_width;
local:
	*;
};

LIBTSM_2 {
global:
	tsm_ucs4_to_utf8;
	tsm_ucs4_to_utf8_alloc;
} LIBTSM_1;

LIBTSM_3 {
global:
	tsm_screen_new;
	tsm_screen_ref;
	tsm_screen_unref;

	tsm_screen_get_width;
	tsm_screen_get_height;
	tsm_screen_resize;
	tsm_screen_set_margins;
	tsm_screen_set_max_sb;
	tsm_screen_clear_sb;

	tsm_screen_sb_up;
	tsm_screen_sb_down;
	tsm_screen_sb_page_up;
	tsm_screen_sb_page_down;
	tsm_screen_sb_reset;

	tsm_screen_set_def_attr;
	tsm_screen_reset;
	tsm_screen_set_flags;
	tsm_screen_reset_flags;
	tsm_screen_get_flags;

	tsm_screen_get_cursor_x;
	tsm_screen_get_cursor_y;

	tsm_screen_set_tabstop;
	tsm_screen_reset_tabstop;
	tsm_screen_reset_all_tabstops;

	tsm_screen_write;
	tsm_screen_newline;
	tsm_screen_scroll_up;
	tsm_screen_scroll_down;
	tsm_screen_move_to;
	tsm_screen_move_up;
	tsm_screen_move_down;
	tsm_screen_move_left;
	tsm_screen_move_right;
	tsm_screen_move_line_end;
	tsm_screen_move_line_home;
	tsm_screen_tab_right;
	tsm_screen_tab_left;
	tsm_screen_insert_lines;
	tsm_screen_delete_lines;
	tsm_screen_insert_chars;
	tsm_screen_delete_chars;
	tsm_screen_erase_cursor;
	tsm_screen_erase_chars;
	tsm_screen_erase_cursor_to_end;
	tsm_screen_erase_home_to_cursor;
	tsm_screen_erase_current_line;
	tsm_screen_erase_screen_to_cursor;
	tsm_screen_erase_cursor_to_screen;
	tsm_screen_erase_screen;

	tsm_screen_selection_reset;
	tsm_screen_selection_start;
	tsm_screen_selection_target;
	tsm_screen_selection_copy;

	tsm_screen_draw;

	tsm_vte_new;
	tsm_vte_ref;
	tsm_vte_unref;

	tsm_vte_set_palette;
	tsm_vte_get_def_attr;

	tsm_vte_reset;
	tsm_vte_hard_reset;
	tsm_vte_input;
	tsm_vte_handle_keyboard;
} LIBTSM_2;