home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1999 June / macpower199906.bin / 9906⁄AMUG / INTERNET / NetCacheResolver 0.9d7.sit / NetCacheResolver 0.9d7 folder / source code CWPro4 / source / NCR_File.h < prev    next >
Encoding:
Text File  |  1996-05-12  |  764 b   |  18 lines  |  [TEXT/CWIE]

  1. // NetCache Resolver, 1995 (C) Mizutori Tetsuya
  2. // - NCR_File.h, October 8, 1995
  3. // This document is pretty printed in 10-point Geneva font.
  4.  
  5. /***** Standard File Get & Put *****/
  6. Boolean GetFilename ( FSSpec *theFSSpec, short numTypes, SFTypeList typeList );
  7. Boolean PutFilename ( FSSpec *theFSSpec, StringPtr prompt, Boolean *replacing );
  8. OSErr ReadFile ( FSSpec *theFSSpec, FInfo *theFInfo, Handle h, long *size );
  9. OSErr WriteFile ( FSSpec *theFSSpec, FInfo *theFInfo, Handle h, long *size );
  10.  
  11. /***** Get File Information *****/
  12. Boolean QueryFile ( FSSpec *theFSSpec, long *fileID );
  13. OSErr TouchDir ( short vRefNum, long dirID );
  14. OSErr GetSpecType ( FSSpec *theFSSpec );
  15. void GenFilename ( StringPtr newFilename, StringPtr oldFilename );
  16.  
  17. // end of definitions
  18.