home *** CD-ROM | disk | FTP | other *** search
/ vis-ftp.cs.umass.edu / vis-ftp.cs.umass.edu.tar / vis-ftp.cs.umass.edu / pub / Software / ASCENDER / ascender.tar.Z / ascender.tar / Triangulate / include / io.s < prev    next >
Text File  |  1995-04-13  |  991b  |  42 lines

  1. #ifndef incl_io_s
  2. #define incl_io_s
  3. #include "cvar.h"
  4.  
  5.  
  6. /* */
  7. extern char *_[];               /* Tokens */
  8. extern int _NF;                 /* Number of fields in current line */
  9. extern int _NR;                 /* Number of current record (ie line number) */
  10. extern FILE *_infile;           /* The input file */
  11. extern char *_currentinput;     /* Name of the current input file */
  12. /* */
  13.  
  14. FUNCTION_DECL (void set_comment_char, (char new_comment_char));
  15.  
  16. FUNCTION_DECL (char get_comment_char, ());
  17.  
  18. FUNCTION_DECL ( int _io_init, (
  19.         FILE *newinfile,
  20.         char *fname));
  21.  
  22. FUNCTION_DECL ( void _io_cleanup, ());
  23.  
  24. FUNCTION_DECL ( int _switchinput, (
  25.         FILE *newfile,
  26.         char *newfname));
  27.  
  28. FUNCTION_DECL ( BOOLEAN _popinput, ());
  29.  
  30. FUNCTION_DECL ( int _reporterror, ());
  31.  
  32. FUNCTION_DECL ( int _nextline, (
  33.         FILE *infile));
  34.  
  35. FUNCTION_DECL (static int getline, (FILE *infile, char *line));
  36.  
  37. FUNCTION_DECL (static void gettokens, ());
  38.  
  39. FUNCTION_DECL ( int _ECHO, ());
  40.  
  41. #endif
  42.