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

*** empty log message ***

Rev: src/client.h:1.20
Rev: src/command.c:1.16
Rev: src/connection.c:1.30
Rev: src/connection_commands.h:1.2
parent bd2aa006
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#ifndef LSH_CLIENT_H_INCLUDED #ifndef LSH_CLIENT_H_INCLUDED
#define LSH_CLIENT_H_INCLUDED #define LSH_CLIENT_H_INCLUDED
#include "channel.h"
#include "io.h" #include "io.h"
#include "keyexchange.h" #include "keyexchange.h"
...@@ -52,11 +53,15 @@ struct ssh_service *request_service(int service_name, ...@@ -52,11 +53,15 @@ struct ssh_service *request_service(int service_name,
struct channel_request *make_handle_exit_status(int *exit_code); struct channel_request *make_handle_exit_status(int *exit_code);
struct channel_request *make_handle_exit_signal(int *exit_code); struct channel_request *make_handle_exit_signal(int *exit_code);
#if 0
struct connection_startup *make_client_startup(struct io_fd *in, struct connection_startup *make_client_startup(struct io_fd *in,
struct io_fd *out, struct io_fd *out,
struct io_fd *err, struct io_fd *err,
struct request_info *requests, struct request_info *requests,
int *exit_status); int *exit_status);
#endif
struct command *make_open_session_command(struct ssh_channel *session);
struct request_info *make_shell_request(struct request_info *next); struct request_info *make_shell_request(struct request_info *next);
struct request_info *make_pty_request(int fd, int essential, int raw, struct request_info *make_pty_request(int fd, int essential, int raw,
......
...@@ -99,7 +99,7 @@ struct command_simple command_unimplemented = ...@@ -99,7 +99,7 @@ struct command_simple command_unimplemented =
* returns an LSH_FAIL status to the mainloop. */ * returns an LSH_FAIL status to the mainloop. */
static int static int
do_command_die_on_null(struct command *s, do_command_die_on_null(struct command *s UNUSED,
struct lsh_object *x, struct lsh_object *x,
struct command_continuation *c) struct command_continuation *c)
{ {
......
...@@ -151,7 +151,6 @@ struct packet_handler *make_unimplemented_handler(void) ...@@ -151,7 +151,6 @@ struct packet_handler *make_unimplemented_handler(void)
return res; return res;
} }
struct ssh_connection *make_ssh_connection(struct command_continuation *c) struct ssh_connection *make_ssh_connection(struct command_continuation *c)
{ {
int i; int i;
......
...@@ -31,10 +31,12 @@ ...@@ -31,10 +31,12 @@
#include "ssh1_fallback.h" #include "ssh1_fallback.h"
struct close_callback *make_connection_close_handler(struct ssh_connection *c); struct close_callback *make_connection_close_handler(struct ssh_connection *c);
struct command * struct command *
make_handshake_command(int mode, make_handshake_command(int mode,
const char *id, const char *id,
UINT32 block_size, UINT32 block_size,
struct randomness *r,
struct alist *algorithms, struct alist *algorithms,
struct make_kexinit *init, struct make_kexinit *init,
struct ssh1_fallback *fallback); struct ssh1_fallback *fallback);
......
Supports Markdown
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