2 * psftp.h: interface between psftp.c and each platform-specific
\r
6 #ifndef PUTTY_PSFTP_H
\r
7 #define PUTTY_PSFTP_H
\r
10 * psftp_getcwd returns the local current directory. The returned
\r
11 * string must be freed by the caller.
\r
13 char *psftp_getcwd(void);
\r
16 * psftp_lcd changes the local current directory. The return value
\r
17 * is NULL on success, or else an error message which must be freed
\r
20 char *psftp_lcd(char *newdir);
\r
23 * One iteration of the PSFTP event loop: wait for network data and
\r
26 int ssh_sftp_loop_iteration(void);
\r
29 * The main program in psftp.c. Called from main() in the platform-
\r
30 * specific code, after doing any platform-specific initialisation.
\r
32 int psftp_main(int argc, char *argv[]);
\r
34 #endif /* PUTTY_PSFTP_H */
\r