mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
e0801815c8
independent source file. All Windowsisms have been moved out to winsftp.c. [originally from svn r3418]
29 lines
652 B
C
29 lines
652 B
C
/*
|
|
* psftp.h: interface between psftp.c and each platform-specific
|
|
* SFTP module.
|
|
*/
|
|
|
|
#ifndef PUTTY_PSFTP_H
|
|
#define PUTTY_PSFTP_H
|
|
|
|
/*
|
|
* psftp_getcwd returns the local current directory. The returned
|
|
* string must be freed by the caller.
|
|
*/
|
|
char *psftp_getcwd(void);
|
|
|
|
/*
|
|
* psftp_lcd changes the local current directory. The return value
|
|
* is NULL on success, or else an error message which must be freed
|
|
* by the caller.
|
|
*/
|
|
char *psftp_lcd(char *newdir);
|
|
|
|
/*
|
|
* One iteration of the PSFTP event loop: wait for network data and
|
|
* process it, once.
|
|
*/
|
|
int ssh_sftp_loop_iteration(void);
|
|
|
|
#endif /* PUTTY_PSFTP_H */
|