mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
9922072a8d
functions as calls to the MS Crypto API. Not integrated into the Makefile yet, but should eventually allow building of an SSH-enabled PuTTY which contains no native crypto code, so it can be used everywhere (and anyone who can get the MS encryption pack can still use the SSH parts). [originally from svn r425]
30 lines
485 B
C
30 lines
485 B
C
/*
|
|
* scp.h
|
|
* Joris van Rantwijk, Aug 1999.
|
|
*/
|
|
|
|
|
|
/*
|
|
* Exported from scp.c
|
|
*/
|
|
extern int verbose;
|
|
void ssh_get_password(char *prompt, char *str, int maxlen);
|
|
|
|
|
|
/*
|
|
* Exported from scpssh.c
|
|
*/
|
|
char * ssh_init(char *host, int port, char *cmd, char **realhost);
|
|
int ssh_recv(unsigned char *buf, int len);
|
|
void ssh_send(unsigned char *buf, int len);
|
|
void ssh_send_eof(void);
|
|
|
|
/*
|
|
* Exports from mscrypto.c
|
|
*/
|
|
#ifdef MSCRYPTOAPI
|
|
int crypto_startup();
|
|
void crypto_wrapup();
|
|
#endif
|
|
|