diff options
Diffstat (limited to 'windows/psocks.c')
-rw-r--r-- | windows/psocks.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/windows/psocks.c b/windows/psocks.c new file mode 100644 index 00000000..83ba364c --- /dev/null +++ b/windows/psocks.c @@ -0,0 +1,24 @@ +/* + * Main program for Windows psocks. + */ + +#include "putty.h" +#include "ssh.h" +#include "psocks.h" + +static const PsocksPlatform platform = { + NULL /* open_pipes */, + NULL /* start_subcommand */, +}; + +int main(int argc, char **argv) +{ + psocks_state *ps = psocks_new(&platform); + psocks_cmdline(ps, argc, argv); + + sk_init(); + winselcli_setup(); + psocks_start(ps); + + cli_main_loop(cliloop_null_pre, cliloop_null_post, NULL); +} |