3519
|
1 /* |
|
2 |
|
3 Copyright (C) 2000 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 2, or (at your option) any |
|
10 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, write to the Free |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
3519
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_rl_hist_h) |
|
25 #define octave_rl_hist_h 1 |
|
26 |
|
27 #ifdef __cplusplus |
|
28 extern "C" |
|
29 { |
|
30 #endif |
|
31 |
|
32 extern void octave_add_history (const char *); |
|
33 |
|
34 extern int octave_where_history (void); |
|
35 |
|
36 extern int octave_history_length (void); |
|
37 |
|
38 extern int octave_max_input_history (void); |
|
39 |
|
40 extern int octave_history_base (void); |
|
41 |
|
42 extern void octave_stifle_history (int); |
|
43 |
|
44 extern int octave_unstifle_history (void); |
|
45 |
|
46 extern int octave_history_is_stifled (void); |
|
47 |
|
48 extern int octave_history_set_pos (int); |
|
49 |
|
50 extern int octave_read_history (const char *); |
|
51 |
|
52 extern void octave_using_history (void); |
|
53 |
|
54 extern int octave_read_history_range (const char *, int, int); |
|
55 |
|
56 extern int octave_write_history (const char *); |
|
57 |
|
58 extern int octave_append_history (int, const char *); |
|
59 |
|
60 extern int octave_history_truncate_file (const char *, int); |
|
61 |
|
62 extern void octave_remove_history (int); |
|
63 |
|
64 extern char *octave_history_goto_mark (int n); |
|
65 |
|
66 extern char *octave_history_get (int n); |
|
67 |
|
68 extern char **octave_history_list (int, int); |
|
69 |
|
70 extern void octave_replace_history_entry (int, const char *); |
|
71 |
|
72 #ifdef __cplusplus |
|
73 } |
|
74 #endif |
|
75 |
|
76 #endif |
|
77 |
|
78 /* |
|
79 ;;; Local Variables: *** |
|
80 ;;; mode: C++ *** |
|
81 ;;; End: *** |
|
82 */ |