projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove /DWIN32S_COMPAT by detecting presence of GetSystemPowerStatus at
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
bc9d689
..
40dd8cb
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-2,6
+2,10
@@
#define PUTTY_PUTTY_H
#define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY"
#define PUTTY_PUTTY_H
#define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY"
+#define PUTTY_REG_PARENT "Software\\SimonTatham"
+#define PUTTY_REG_PARENT_CHILD "PuTTY"
+#define PUTTY_REG_GPARENT "Software"
+#define PUTTY_REG_GPARENT_CHILD "SimonTatham"
/*
* Global variables. Most modules declare these `extern', but
/*
* Global variables. Most modules declare these `extern', but
@@
-111,6
+115,7
@@
typedef struct {
void (*special) (Telnet_Special code);
SOCKET (*socket) (void);
int (*sendok) (void);
void (*special) (Telnet_Special code);
SOCKET (*socket) (void);
int (*sendok) (void);
+ int default_port;
} Backend;
GLOBAL Backend *back;
} Backend;
GLOBAL Backend *back;
@@
-159,6
+164,7
@@
typedef struct {
int alt_space; /* is it special? */
int ldisc_term;
int scroll_on_key;
int alt_space; /* is it special? */
int ldisc_term;
int scroll_on_key;
+ char wintitle[256]; /* initial window title */
/* Terminal options */
int savelines;
int dec_om;
/* Terminal options */
int savelines;
int dec_om;
@@
-241,8
+247,11
@@
void palette_reset (void);
void write_clip (void *, int);
void get_clip (void **, int *);
void optimised_move (int, int, int);
void write_clip (void *, int);
void get_clip (void **, int *);
void optimised_move (int, int, int);
+void connection_fatal(char *, ...);
void fatalbox (char *, ...);
void beep (int);
void fatalbox (char *, ...);
void beep (int);
+void begin_session(void);
+void sys_cursor(int x, int y);
#define OPTIMISE_IS_SCROLL 1
/*
#define OPTIMISE_IS_SCROLL 1
/*
@@
-252,6
+261,7
@@
void noise_get_heavy(void (*func) (void *, int));
void noise_get_light(void (*func) (void *, int));
void noise_ultralight(DWORD data);
void random_save_seed(void);
void noise_get_light(void (*func) (void *, int));
void noise_ultralight(DWORD data);
void random_save_seed(void);
+void random_destroy_seed(void);
/*
* Exports from windlg.c.
/*
* Exports from windlg.c.
@@
-262,8
+272,10
@@
void do_defaults (char *);
void logevent (char *);
void showeventlog (HWND);
void showabout (HWND);
void logevent (char *);
void showeventlog (HWND);
void showabout (HWND);
-void verify_ssh_host_key(char *host, char *keystr);
+void verify_ssh_host_key(char *host, int port, char *keytype,
+ char *keystr, char *fingerprint);
void get_sesslist(int allocate);
void get_sesslist(int allocate);
+void registry_cleanup(void);
GLOBAL int nsessions;
GLOBAL char **sessions;
GLOBAL int nsessions;
GLOBAL char **sessions;