/[pspp]/pspp/src/file-handle.h
ViewVC logotype

Diff of /pspp/src/file-handle.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by jmd, Fri Apr 29 01:02:14 2005 UTC revision 1.10 by jmd, Thu Oct 27 03:19:07 2005 UTC
# Line 23  Line 23 
23  /* File handles. */  /* File handles. */
24    
25  #include <stddef.h>  #include <stddef.h>
26    #include "file-handle-def.h"
 /* File modes. */  
 enum file_handle_mode  
   {  
     MODE_TEXT,                  /* New-line delimited lines. */  
     MODE_BINARY                 /* Fixed-length records. */  
   };  
27    
28    
29    
30  void fh_init(void);  void fh_init(void);
31  void fh_done(void);  void fh_done(void);
32    
33    
34  /* Parsing handles. */  /* Parsing handles. */
35  struct file_handle *fh_parse (void);  struct file_handle *fh_parse (void);
36    
# Line 44  struct file_handle *fh_parse (void); Line 39  struct file_handle *fh_parse (void);
39  void **fh_open (struct file_handle *, const char *type, const char *mode);  void **fh_open (struct file_handle *, const char *type, const char *mode);
40  int fh_close (struct file_handle *, const char *type, const char *mode);  int fh_close (struct file_handle *, const char *type, const char *mode);
41    
 /* Handle info. */  
 const char *handle_get_name (const struct file_handle *);  
 const char *handle_get_filename (const struct file_handle *);  
 enum file_handle_mode handle_get_mode (const struct file_handle *);  
 size_t handle_get_record_width (const struct file_handle *);  
 size_t handle_get_tab_width (const struct file_handle *);  
42    
43  #endif /* !file_handle.h */  #endif /* !file_handle.h */

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26