d6cc41e6 |
1 | /*\r |
2 | * psftp.h: interface between psftp.c and each platform-specific\r |
3 | * SFTP module.\r |
4 | */\r |
5 | \r |
6 | #ifndef PUTTY_PSFTP_H\r |
7 | #define PUTTY_PSFTP_H\r |
8 | \r |
9 | /*\r |
10 | * psftp_getcwd returns the local current directory. The returned\r |
11 | * string must be freed by the caller.\r |
12 | */\r |
13 | char *psftp_getcwd(void);\r |
14 | \r |
15 | /*\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 |
18 | * by the caller.\r |
19 | */\r |
20 | char *psftp_lcd(char *newdir);\r |
21 | \r |
22 | /*\r |
23 | * One iteration of the PSFTP event loop: wait for network data and\r |
24 | * process it, once.\r |
25 | */\r |
26 | int ssh_sftp_loop_iteration(void);\r |
27 | \r |
28 | #endif /* PUTTY_PSFTP_H */\r |