GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
liboctave
util
oct-rl-edit.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2000-2013 John W. Eaton
4
5
This file is part of Octave.
6
7
Octave is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by the
9
Free Software Foundation; either version 3 of the License, or (at your
10
option) any later version.
11
12
Octave is distributed in the hope that it will be useful, but WITHOUT
13
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15
for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Octave; see the file COPYING. If not, see
19
<http://www.gnu.org/licenses/>.
20
21
*/
22
23
#if !defined (octave_oct_rl_edit_h)
24
#define octave_oct_rl_edit_h 1
25
26
typedef
int
(*
rl_startup_hook_fcn_ptr
) (
void
);
27
28
typedef
int
(*
rl_pre_input_hook_fcn_ptr
) (
void
);
29
30
typedef
int
(*
rl_event_hook_fcn_ptr
) (
void
);
31
32
typedef
int
(*
rl_fcn_ptr
) (
int
,
int
);
33
34
typedef
char
** (*rl_attempted_completion_fcn_ptr) (
const
char
*,
int
,
int
);
35
36
typedef
char
* (*rl_completer_fcn_ptr) (
const
char
*,
int
);
37
38
typedef
char
* (*rl_quoting_fcn_ptr) (
char
*,
int
,
char
*);
39
40
typedef
char
* (*rl_dequoting_fcn_ptr) (
char
*,
int
);
41
42
typedef
int
(*
rl_char_is_quoted_fcn_ptr
) (
char
*,
int
);
43
44
typedef
int
(*
rl_command_fcn_ptr
) (
int
,
int
);
45
46
#ifdef __cplusplus
47
extern
"C"
48
{
49
#endif
50
51
extern
void
octave_rl_redisplay
(
void
);
52
53
extern
int
octave_rl_screen_height
(
void
);
54
55
extern
int
octave_rl_screen_width
(
void
);
56
57
extern
void
octave_rl_enable_paren_matching
(
int
);
58
59
extern
void
octave_rl_init
(
void
);
60
61
extern
void
octave_rl_clear_screen
(
int
skip_redisplay);
62
63
extern
void
octave_rl_resize_terminal
(
void
);
64
65
extern
void
octave_rl_restore_terminal_state
(
void
);
66
67
extern
char
*
octave_rl_copy_line
(
void
);
68
69
extern
void
octave_rl_replace_line
(
const
char
*s,
int
clear_undo);
70
71
extern
void
octave_rl_insert_text
(
const
char
*);
72
73
extern
int
octave_rl_newline
(
int
,
int
);
74
75
extern
const
char
*
octave_rl_line_buffer
(
void
);
76
77
extern
int
octave_rl_do_undo
(
void
);
78
79
extern
void
octave_rl_clear_undo_list
(
void
);
80
81
extern
void
octave_rl_set_name
(
const
char
*);
82
83
extern
char
*
octave_rl_readline
(
const
char
*);
84
85
extern
void
octave_rl_set_input_stream
(FILE *);
86
87
extern
FILE *
octave_rl_get_input_stream
(
void
);
88
89
extern
void
octave_rl_set_output_stream
(FILE *);
90
91
extern
FILE *
octave_rl_get_output_stream
(
void
);
92
93
extern
void
octave_rl_read_init_file
(
const
char
*);
94
95
extern
void
octave_rl_re_read_init_file
(
void
);
96
97
extern
int
octave_rl_filename_completion_desired
(
int
);
98
99
extern
int
octave_rl_filename_quoting_desired
(
int
);
100
101
extern
void
octave_rl_done
(
int
);
102
103
extern
char
*
octave_rl_filename_completion_function
(
const
char
*,
int
);
104
105
extern
void
octave_rl_set_basic_word_break_characters
(
const
char
*);
106
107
extern
void
octave_rl_set_completer_word_break_characters
(
const
char
*);
108
109
extern
void
octave_rl_set_basic_quote_characters
(
const
char
*);
110
111
extern
void
octave_rl_set_filename_quote_characters
(
const
char
*);
112
113
extern
void
octave_rl_set_completer_quote_characters
(
const
char
*);
114
115
extern
void
octave_rl_set_completion_append_character
(
char
);
116
117
extern
void
118
octave_rl_set_completion_function
(
rl_attempted_completion_fcn_ptr
);
119
120
extern
void
121
octave_rl_set_quoting_function
(
rl_quoting_fcn_ptr
);
122
123
extern
void
124
octave_rl_set_dequoting_function
(
rl_dequoting_fcn_ptr
);
125
126
extern
void
octave_rl_set_char_is_quoted_function
(
rl_char_is_quoted_fcn_ptr
);
127
128
extern
void
octave_rl_set_startup_hook
(
rl_startup_hook_fcn_ptr
);
129
130
extern
rl_startup_hook_fcn_ptr
octave_rl_get_startup_hook
(
void
);
131
132
extern
void
octave_rl_set_pre_input_hook
(
rl_startup_hook_fcn_ptr
);
133
134
extern
rl_pre_input_hook_fcn_ptr
octave_rl_get_pre_input_hook
(
void
);
135
136
extern
void
octave_rl_set_event_hook
(
rl_event_hook_fcn_ptr
f
);
137
138
extern
rl_event_hook_fcn_ptr
octave_rl_get_event_hook
(
void
);
139
140
extern
char
**
141
octave_rl_completion_matches
(
const
char
*,
rl_completer_fcn_ptr
);
142
143
extern
char
octave_rl_prompt_start_ignore
(
void
);
144
145
extern
char
octave_rl_prompt_end_ignore
(
void
);
146
147
extern
void
octave_rl_add_defun
(
const
char
*,
rl_fcn_ptr
,
char
);
148
149
extern
void
octave_rl_set_terminal_name
(
const
char
*);
150
151
extern
void
octave_rl_initialize
(
void
);
152
153
extern
int
octave_rl_history_search_forward
(
int
,
int
);
154
155
extern
int
octave_rl_history_search_backward
(
int
,
int
);
156
157
extern
char
octave_rl_ctrl
(
char
);
158
159
extern
char
octave_rl_meta
(
char
);
160
161
#ifdef __cplusplus
162
}
163
#endif
164
165
#endif
Generated on Mon Dec 30 2013 03:04:54 for GNU Octave by
1.8.1.2