[BACK]Return to sftp-client.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sftp-client.h between version 1.2 and 1.3

version 1.2, 2001/03/07 10:11:23 version 1.3, 2001/03/13 22:42:54
Line 26 
Line 26 
   
 /* Client side of SSH2 filexfer protocol */  /* Client side of SSH2 filexfer protocol */
   
   typedef struct SFTP_DIRENT SFTP_DIRENT;
   
   struct SFTP_DIRENT {
           char *filename;
           char *longname;
           Attrib a;
   };
   
 /*  /*
  * Initialiase a SSH filexfer connection. Returns -1 on error or   * Initialiase a SSH filexfer connection. Returns -1 on error or
  * protocol version on success.   * protocol version on success.
Line 37 
Line 45 
   
 /* List contents of directory 'path' to stdout */  /* List contents of directory 'path' to stdout */
 int do_ls(int fd_in, int fd_out, char *path);  int do_ls(int fd_in, int fd_out, char *path);
   
   /* Read contents of 'path' to NULL-terminated array 'dir' */
   int do_readdir(int fd_in, int fd_out, char *path, SFTP_DIRENT ***dir);
   
   /* Frees a NULL-terminated array of SFTP_DIRENTs (eg. from do_readdir) */
   void free_sftp_dirents(SFTP_DIRENT **s);
   
 /* Delete file 'path' */  /* Delete file 'path' */
 int do_rm(int fd_in, int fd_out, char *path);  int do_rm(int fd_in, int fd_out, char *path);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3