Mercurial > dropbear
comparison runopts.h @ 64:efb5e0b335cf
TCP forwarding works.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 12 Aug 2004 13:48:42 +0000 |
parents | 4b53a43f0082 |
children | eee77ac31ccc |
comparison
equal
deleted
inserted
replaced
63:dcc43965928f | 64:efb5e0b335cf |
---|---|
27 | 27 |
28 #include "includes.h" | 28 #include "includes.h" |
29 #include "signkey.h" | 29 #include "signkey.h" |
30 #include "buffer.h" | 30 #include "buffer.h" |
31 #include "auth.h" | 31 #include "auth.h" |
32 #include "tcpfwd.h" | |
32 | 33 |
33 typedef struct runopts { | 34 typedef struct runopts { |
34 | 35 |
35 int nolocaltcp; | 36 int nolocaltcp; |
36 int noremotetcp; | 37 int noremotetcp; |
88 | 89 |
89 char *username; | 90 char *username; |
90 | 91 |
91 char *cmd; | 92 char *cmd; |
92 int wantpty; | 93 int wantpty; |
94 #ifdef DROPBEAR_PUBKEY_AUTH | |
93 struct PubkeyList *pubkeys; /* Keys to use for public-key auth */ | 95 struct PubkeyList *pubkeys; /* Keys to use for public-key auth */ |
94 #ifdef DROPBEAR_PUBKEY_AUTH | 96 #endif |
97 #ifdef ENABLE_CLI_REMOTETCPFWD | |
98 struct TCPFwdList * remotefwds; | |
99 #endif | |
100 #ifdef ENABLE_CLI_LOCALTCPFWD | |
101 struct TCPFwdList * localfwds; | |
95 #endif | 102 #endif |
96 /* XXX TODO */ | 103 /* XXX TODO */ |
97 | 104 |
98 } cli_runopts; | 105 } cli_runopts; |
99 | 106 |