home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / src / indent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-26  |  1.3 KB  |  40 lines

  1. /* Definitions for interface to indent.c
  2.    Copyright (C) 1985-1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef _EMACS_INDENT_H_
  21. #define _EMACS_INDENT_H_
  22.  
  23. struct position
  24.   {
  25.     int bufpos;            /* Buffer position */
  26.     int hpos;            /* Horizontal window position */
  27.     int vpos;            /* Vertical window position */
  28.     int prevhpos;        /* Horizontal window position of last char */
  29.     int contin;            /* 0 of not continued, 1 if continued */
  30.     /* hpos in pixels */
  31.     int pixpos;
  32.     /* hpos in buffer (not window) columns */
  33.     int column;
  34.   };
  35.  
  36. struct position *compute_motion ();
  37. struct position *vmotion ();
  38.  
  39. #endif /* _EMACS_INDENT_H_ */
  40.