123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //---------------------------------------------------------------------------
- #ifndef PuttyIntfH
- #define PuttyIntfH
- //---------------------------------------------------------------------------
- void __fastcall PuttyInitialize();
- void __fastcall PuttyFinalize();
- //---------------------------------------------------------------------------
- void __fastcall DontSaveRandomSeed();
- //---------------------------------------------------------------------------
- #include "PuttyTools.h"
- //---------------------------------------------------------------------------
- #define MPEXT
- extern "C"
- {
- #include <putty.h>
- // To rename ssh1_cipheralg::new member, what is a keyword in C++
- #define new _new_
- #include <ssh.h>
- #undef new
- #include <puttyexp.h>
- #include <proxy.h>
- #include <storage.h>
- // Defined in misc.h - Conflicts with std::min/max
- #undef min
- #undef max
- // Defined in marshal.h - Conflicts with xml.xmldom.hpp
- #undef get_data
- }
- //---------------------------------------------------------------------------
- UnicodeString GetCipherName(const ssh_cipher * Cipher);
- UnicodeString GetCompressorName(const ssh_compressor * Compressor);
- UnicodeString GetDecompressorName(const ssh_decompressor * Decompressor);
- void PuttyDefaults(Conf * conf);
- //---------------------------------------------------------------------------
- class TSecureShell;
- struct ScpSeat : public Seat
- {
- TSecureShell * SecureShell;
- ScpSeat(TSecureShell * SecureShell);
- };
- //---------------------------------------------------------------------------
- extern THierarchicalStorage * PuttyStorage;
- //---------------------------------------------------------------------------
- #endif
|