projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SSH port forwarding! How cool is that?
[u/mdw/putty]
/
ssh.h
diff --git
a/ssh.h
b/ssh.h
index
014c406
..
d7b5b16
100644
(file)
--- a/
ssh.h
+++ b/
ssh.h
@@
-1,6
+1,7
@@
#include <string.h>
#include "puttymem.h"
#include <string.h>
#include "puttymem.h"
+#include "network.h"
/*
* Useful thing.
/*
* Useful thing.
@@
-199,6
+200,8
@@
void random_add_noise(void *noise, int length);
void random_add_heavynoise(void *noise, int length);
void logevent(char *);
void random_add_heavynoise(void *noise, int length);
void logevent(char *);
+void *new_sock_channel(Socket s); // allocates and register a new channel for port forwarding
+void ssh_send_port_open(void *channel, char *hostname, int port, char *org);
Bignum copybn(Bignum b);
Bignum bn_power_2(int n);
Bignum copybn(Bignum b);
Bignum bn_power_2(int n);
@@
-271,6
+274,7
@@
int rsa_generate(struct RSAKey *key, int bits, progfn_t pfn,
Bignum primegen(int bits, int modulus, int residue, int phase,
progfn_t pfn, void *pfnparam);
Bignum primegen(int bits, int modulus, int residue, int phase,
progfn_t pfn, void *pfnparam);
+
/*
* zlib compression.
*/
/*
* zlib compression.
*/