Commit 52b340b5 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/connection.c:1.59
Rev: src/gateway.h:1.1
Rev: src/gateway_commands.h:1.1
parent f659ec83
......@@ -330,7 +330,7 @@ make_ssh_connection(UINT32 flags,
connection->dispatch[SSH_MSG_DEBUG] = &connection_debug_handler;
/* Make all other known message types terminate the connection */
/* Make all other known message types terminate the connection */
connection->dispatch[SSH_MSG_SERVICE_REQUEST] = &connection_fail_handler;
connection->dispatch[SSH_MSG_SERVICE_ACCEPT] = &connection_fail_handler;
......@@ -361,9 +361,10 @@ make_ssh_connection(UINT32 flags,
return connection;
}
void connection_init_io(struct ssh_connection *connection,
struct abstract_write *raw,
struct randomness *r)
void
connection_init_io(struct ssh_connection *connection,
struct abstract_write *raw,
struct randomness *r)
{
/* Initialize i/o hooks */
connection->raw = raw;
......
/* gateway.h
*
* $Id$
*/
/* lsh, an implementation of the ssh protocol
*
* Copyright (C) 2000 Niels Möller
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef GATEWAY_H_INCLUDED
#define GATEWAY_H_INCLUDED
#include "lsh.h"
/* Formats the address of the local gateway socket. */
struct local_info *
make_gateway_address(char *local_user, char *remote_user,
struct address_info *target);
#endif /* GATEWAY_H_INCLUDED */
/* gateway_commands.h
*
* $Id$
*/
/* lsh, an implementation of the ssh protocol
*
* Copyright (C) 2000 Niels Möller
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef GATEWAY_COMMANDS_H_INCLUDED
#define GATEWAY_COMMANDS_H_INCLUDED
#include "command.h"
extern struct command gateway_init;
#define GATEWAY_INIT (&gateway_init.super)
extern struct command_simple gateway_accept;
#define GATEWAY_ACCEPT (&gateway_accept.super.super)
struct command *
make_gateway_setup(struct command *listen);
extern struct command_simple gateway_setup_command;
#define GATEWAY_SETUP (&gateway_setup_command.super.super)
#endif /* GATEWAY_COMMANDS_H_INCLUDED */
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