1999-08-31 09:20:48 +00:00
|
|
|
/*
|
|
|
|
* scp.h
|
2000-06-22 12:18:34 +00:00
|
|
|
* Joris van Rantwijk, Aug 1999, Jun 2000.
|
1999-08-31 09:20:48 +00:00
|
|
|
*/
|
|
|
|
|
2000-06-22 12:18:34 +00:00
|
|
|
#define SCP_FLAG 1
|
|
|
|
#define SCP_VERBOSE 2
|
|
|
|
#define IS_SCP ((scp_flags & SCP_FLAG) != 0)
|
1999-08-31 09:20:48 +00:00
|
|
|
|
2000-06-22 12:18:34 +00:00
|
|
|
/* Exported from ssh.c */
|
|
|
|
extern int scp_flags;
|
2000-07-21 09:17:05 +00:00
|
|
|
extern int (*ssh_get_password)(const char *prompt, char *str, int maxlen);
|
2000-06-22 12:18:34 +00:00
|
|
|
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);
|
2000-03-24 09:45:49 +00:00
|
|
|
|