comparison liboctave/oct-rl-hist.h @ 3519:957d7d6ab0e0

[project @ 2000-02-02 06:00:09 by jwe]
author jwe
date Wed, 02 Feb 2000 06:00:59 +0000
parents
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
3518:2dcc5f58ca0c 3519:957d7d6ab0e0
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
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 */
22
23 #if !defined (octave_rl_hist_h)
24 #define octave_rl_hist_h 1
25
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 extern void octave_add_history (const char *);
32
33 extern int octave_where_history (void);
34
35 extern int octave_history_length (void);
36
37 extern int octave_max_input_history (void);
38
39 extern int octave_history_base (void);
40
41 extern void octave_stifle_history (int);
42
43 extern int octave_unstifle_history (void);
44
45 extern int octave_history_is_stifled (void);
46
47 extern int octave_history_set_pos (int);
48
49 extern int octave_read_history (const char *);
50
51 extern void octave_using_history (void);
52
53 extern int octave_read_history_range (const char *, int, int);
54
55 extern int octave_write_history (const char *);
56
57 extern int octave_append_history (int, const char *);
58
59 extern int octave_history_truncate_file (const char *, int);
60
61 extern void octave_remove_history (int);
62
63 extern char *octave_history_goto_mark (int n);
64
65 extern char *octave_history_get (int n);
66
67 extern char **octave_history_list (int, int);
68
69 extern void octave_replace_history_entry (int, const char *);
70
71 #ifdef __cplusplus
72 }
73 #endif
74
75 #endif
76
77 /*
78 ;;; Local Variables: ***
79 ;;; mode: C++ ***
80 ;;; End: ***
81 */