1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #ifndef PUTTY_PUTTYEXP_H
- #define PUTTY_PUTTYEXP_H
- #include "defs.h"
- // from ssh.c
- int is_ssh(Plug * plug);
- int get_ssh_version(Backend * be);
- Seat * get_ssh_seat(Plug * plug);
- #ifdef WINSCP_SSH
- const ssh_cipher * get_cscipher(Backend * be);
- const ssh_cipher * get_sccipher(Backend * be);
- #endif
- const struct ssh_compressor * get_cscomp(Backend * be);
- const struct ssh_decompressor * get_sccomp(Backend * be);
- #define WINSCP_QUERY_REMMAXPKT 1
- #define WINSCP_QUERY_MAIN_CHANNEL 2
- #define WINSCP_QUERY_TIMER 3
- unsigned int winscp_query(Backend * be, int query);
- void md5checksum(const char * buffer, int len, unsigned char output[16]);
- typedef const struct ssh_keyalg * cp_ssh_keyalg;
- void get_hostkey_algs(int type, int * count, cp_ssh_keyalg ** sign_keys);
- void get_macs(int * count, const struct ssh2_macalg * const ** amacs);
- int have_any_ssh2_hostkey(Seat * seat, const char * host, int port);
- // from wingss.c
- #include "ssh\gss.h"
- void wingss_cleanup(void);
- // from portfwd.c
- int is_pfwd(Plug * plug);
- Seat * get_pfwd_seat(Plug * plug);
- // from winnet.c
- void select_result(WPARAM wParam, LPARAM lParam);
- // from sshaes.c
- typedef void AESContext;
- AESContext * aes_make_context();
- void aes_free_context(AESContext * ctx);
- void aes_iv(AESContext * ctx, const void * iv);
- void call_aes_setup(AESContext * ctx, unsigned char * key, int keylen);
- void call_aes_sdctr(unsigned char *blk, int len, AESContext * ctx);
- // from sshaesold.c
- void *aesold_make_context(void);
- void aesold_free_context(void *handle);
- void call_aesold_setup(void * ctx, int blocklen, unsigned char * key, int keylen);
- void call_aesold_encrypt(void * ctx, unsigned int * block);
- // from winmisc.c
- void win_misc_cleanup();
- // from misc.c
- const char * get_putty_version();
- // from winsecur.c
- void win_secur_cleanup(void);
- // from sshecc.c
- void ec_cleanup(void);
- #endif
|