scp.h 360 B

12345678910111213
  1. /*
  2. * scp.h
  3. * Joris van Rantwijk, Aug 1999, Jun 2000.
  4. */
  5. /* Exported from ssh.c */
  6. extern void (*ssh_get_password)(const char *prompt, char *str, int maxlen);
  7. char * ssh_scp_init(char *host, int port, char *cmd, char **realhost);
  8. int ssh_scp_recv(unsigned char *buf, int len);
  9. void ssh_scp_send(unsigned char *buf, int len);
  10. void ssh_scp_send_eof(void);