1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 12:02:47 -05:00

Added a fourth application: plink, a command line connection utility

[originally from svn r575]
This commit is contained in:
Simon Tatham
2000-09-08 14:45:20 +00:00
parent 263d9e0f09
commit 8394a48620
8 changed files with 94 additions and 55 deletions

View File

@ -109,6 +109,7 @@ typedef struct {
void (*send) (char *buf, int len);
void (*size) (void);
void (*special) (Telnet_Special code);
SOCKET (*socket) (void);
} Backend;
GLOBAL Backend *back;
@ -196,6 +197,14 @@ typedef struct {
#define DEFAULT_PORT 22
#endif
/*
* Some global flags denoting the type of application.
*/
#define FLAG_VERBOSE 0x0001
#define FLAG_WINDOWED 0x0002
#define FLAG_CONNECTION 0x0004
GLOBAL int flags;
GLOBAL Config cfg;
GLOBAL int default_protocol;
GLOBAL int default_port;