home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / tcpipsrc / h / if / import < prev    next >
Text File  |  1994-06-19  |  755b  |  33 lines

  1. #ifndef _import_h
  2. #define _import_h
  3.  
  4. #include "flex.h"
  5. #include "wimp.h"
  6.  
  7. /* In all the following, name should point to a buffer
  8.    large enough to hold a filename - ie 256 charas
  9.  */
  10.  
  11. /* Called from DataOpen or DataLoad
  12.    Create a flex block and load file into it
  13.  */
  14. BOOL import_load(flex_ptr data, int *size, char *name, int *type);
  15.  
  16. /* Called from DataSave
  17.    Create a flex block and ram fetch file into it
  18.  */
  19. BOOL import_fetch(flex_ptr data, int *size, char *name, int *type);
  20.  
  21. /* Called from DataLoad or DataOpen
  22.    Returns filename and type only
  23.  */
  24. BOOL import_ack(char *name, int *type);
  25.  
  26. /* Called from DataSave
  27.    Forces the transfer to occure via a scrap file
  28.    Used when RAM transfer is in-appropriate
  29.  */
  30. void import_scrap(void);
  31.  
  32. #endif
  33.