1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/scp.h
Simon Tatham e3e48f45c7 SSH compression by linking with zlib.dll if present (compression
quietly becomes unavailable if zlib.dll not found). Thanks to Joris
van Rantwijk (again).

[originally from svn r511]
2000-07-04 09:15:12 +00:00

13 lines
360 B
C

/*
* scp.h
* Joris van Rantwijk, Aug 1999, Jun 2000.
*/
/* Exported from ssh.c */
extern void (*ssh_get_password)(const char *prompt, char *str, int maxlen);
char * ssh_scp_init(char *host, int port, char *cmd, char **realhost);
int ssh_scp_recv(unsigned char *buf, int len);
void ssh_scp_send(unsigned char *buf, int len);
void ssh_scp_send_eof(void);