home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-base.tgz / octave-1.1.1p1-base.tar / fsf / octave / src / octave-hist.h < prev    next >
C/C++ Source or Header  |  1995-01-03  |  1KB  |  49 lines

  1. // octave-hist.h                                        -*- C++ -*-
  2. /*
  3.  
  4. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton
  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
  20. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23.  
  24. #if !defined (octave_octave_hist_h)
  25. #define octave_octave_hist_h 1
  26.  
  27. extern void initialize_history (void);
  28. extern void clean_up_history (void);
  29. extern void maybe_save_history (char*);
  30. extern void do_history (int, char**);
  31. extern void do_edit_history (int, char**);
  32. extern void do_run_history (int, char**);
  33. extern int current_history_number (void);
  34.  
  35. // Nonzero means input is coming from temporary history file.
  36. extern int input_from_tmp_history_file;
  37.  
  38. // Nonzero means we are saving history lines.
  39. extern int saving_history;
  40.  
  41. #endif
  42.  
  43. /*
  44. ;;; Local Variables: ***
  45. ;;; mode: C++ ***
  46. ;;; page-delimiter: "^/\\*" ***
  47. ;;; End: ***
  48. */
  49.