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:
9
putty.h
9
putty.h
@ -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;
|
||||
|
Reference in New Issue
Block a user