1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-05 06:32:25 +00:00
putty-source/scp.h
Simon Tatham 2832ef1e75 Joris van Rantwijk's unified SSH code suitable for PuTTY and PSCP
[originally from svn r504]
[this commit reordered to come after creation of 0.49 tag]
2000-06-22 12:18:34 +00:00

18 lines
469 B
C

/*
* scp.h
* Joris van Rantwijk, Aug 1999, Jun 2000.
*/
#define SCP_FLAG 1
#define SCP_VERBOSE 2
#define IS_SCP ((scp_flags & SCP_FLAG) != 0)
/* Exported from ssh.c */
extern int scp_flags;
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);