Added framework to sshbn.c to make it possible to vary the
[u/mdw/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 766e2e3..e42bcc4 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -259,6 +259,7 @@ void ssh_send_port_open(void *channel, char *hostname, int port, char *org);
 /* Exports from portfwd.c */
 extern char *pfd_newconnect(Socket * s, char *hostname, int port, void *c,
                            const Config *cfg);
+/* desthost == NULL indicates dynamic (SOCKS) port forwarding */
 extern char *pfd_addforward(char *desthost, int destport, char *srcaddr,
                            int port, void *backhandle, const Config *cfg);
 extern void pfd_close(Socket s);
@@ -314,6 +315,10 @@ Bignum bignum_rshift(Bignum number, int shift);
 int bignum_cmp(Bignum a, Bignum b);
 char *bignum_decimal(Bignum x);
 
+#ifdef DEBUG
+void diagbn(char *prefix, Bignum md);
+#endif
+
 void *dh_setup_group1(void);
 void *dh_setup_group(Bignum pval, Bignum gval);
 void dh_cleanup(void *);