Commit 405929a8 authored by Niels Möller's avatar Niels Möller
Browse files

Include channel.h. Still doesn't initialize everything properly.

Rev: src/lsh.c:1.15
parent 42daf024
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "alist.h" #include "alist.h"
#include "atoms.h" #include "atoms.h"
#include "channel.h"
#include "charset.h" #include "charset.h"
#include "client.h" #include "client.h"
#include "client_keyexchange.h" #include "client_keyexchange.h"
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
#include "io.h" #include "io.h"
#include "randomness.h" #include "randomness.h"
#include "service.h" #include "service.h"
#include "session.h" /* #include "session.h" */
#include "userauth.h" #include "userauth.h"
#include "werror.h" #include "werror.h"
#include "xalloc.h" #include "xalloc.h"
...@@ -174,15 +175,16 @@ int main(int argc, char **argv) ...@@ -174,15 +175,16 @@ int main(int argc, char **argv)
kexinit_handler = make_kexinit_handler kexinit_handler = make_kexinit_handler
(CONNECTION_CLIENT, (CONNECTION_CLIENT,
make_kexinit, algorithms, make_kexinit, algorithms,
4711);
#if 0
/* FIXME: make_service_handler is wrong function: It's for /* FIXME: make_service_handler is wrong function: It's for
* the server side. */ * the server side. */
make_service_handler(make_alist make_service_handler(make_alist
(1, ATOM_SSH_USERAUTH, (1, ATOM_SSH_USERAUTH,
make_client_userauth(ssh_format("%lz", user), make_client_userauth(ssh_format("%lz", user),
ATOM_SSH_CONNECTION, ATOM_SSH_CONNECTION,
service)))); service))));
#endif
if (!io_connect(&backend, &remote, NULL, if (!io_connect(&backend, &remote, NULL,
make_client_callback(&backend, make_client_callback(&backend,
"lsh - a free ssh", "lsh - a free ssh",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment