home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma64.dms / ma64.adf / FTPMount-1.0 / Source / connect.h < prev    next >
Text File  |  1995-09-06  |  761b  |  29 lines

  1. /*
  2.  * This source file is Copyright 1995 by Evan Scott.
  3.  * All rights reserved.
  4.  * Permission is granted to distribute this file provided no
  5.  * fees beyond distribution costs are levied.
  6.  */
  7.  
  8. void init_connect(site *);
  9. void disconnect(site *);
  10. boolean change_dir(site *sp, b8 *);
  11. b8 *cd_parent(site *sp, b8 *);
  12. boolean get_list(site *sp, struct info_header *ih);
  13.  
  14. b32 read_file(site *sp, b8 *, b32 *);
  15. b32 write_file(site *sp, b8 *, b32 *);
  16.  
  17. b32 open_file(site *sp, b8 *, boolean, b8 *);
  18. void close_file(site *sp, boolean normal_close);
  19.  
  20. b32 delete_file(site *sp, b8 *);
  21. b32 delete_directory(site *sp, b8 *);
  22. b32 make_directory(site *sp, b8 *);
  23. b32 rename_object(site *sp, b8 *, b8 *);
  24.  
  25. void interrupt_message(site *sp, tcpmessage *tm);
  26.  
  27. #define MORE_LINES 10
  28.  
  29.