1742
|
1 // oct-hist.h -*- C++ -*- |
1
|
2 /* |
|
3 |
1009
|
4 Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton |
1
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_octave_hist_h) |
|
25 #define octave_octave_hist_h 1 |
1
|
26 |
1646
|
27 extern int default_history_size (void); |
|
28 extern char *default_history_file (void); |
1
|
29 extern void initialize_history (void); |
|
30 extern void clean_up_history (void); |
1363
|
31 extern void maybe_save_history (const char*); |
1
|
32 extern void do_history (int, char**); |
|
33 extern void do_edit_history (int, char**); |
63
|
34 extern void do_run_history (int, char**); |
1
|
35 extern int current_history_number (void); |
|
36 |
168
|
37 // Nonzero means input is coming from temporary history file. |
|
38 extern int input_from_tmp_history_file; |
|
39 |
1
|
40 #endif |
|
41 |
|
42 /* |
|
43 ;;; Local Variables: *** |
|
44 ;;; mode: C++ *** |
|
45 ;;; page-delimiter: "^/\\*" *** |
|
46 ;;; End: *** |
|
47 */ |