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

New files.

Rev: src/server_x11.c:1.1
Rev: src/server_x11.h:1.1
parent 04065362
/* server_x11.c
*
* $id:$
*
*/
/* lsh, an implementation of the ssh protocol
*
* Copyright (C) 2002 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "server_x11.h"
#include "werror.h"
#if WITH_X11_FORWARD
struct server_x11_info *
make_server_x11_info(UINT32 protocol_length, const UINT8 *protocol,
UINT32 cookie_length, const UINT8 *cookie,
struct lsh_user *user)
{
/* Not implemented */
return NULL;
}
/* Start listening on an AF_UNIX socket, and run xauth */
void
server_x11_listen(struct server_x11_info *info,
struct ssh_connection *connection,
struct command_continuation *c,
struct exception_handler *e)
{
fatal("server_x11_listen: Not implemented, should never be called.\n");
}
#endif /* WITH_X11_FORWARD */
/* server_x11.h
*
* $id:$
*
*/
/* lsh, an implementation of the ssh protocol
*
* Copyright (C) 2002 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef LSH_SERVER_X11_H_INCLUDED
#define LSH_SERVER_X11_H_INCLUDED
#include "command.h"
struct server_x11_info;
struct server_x11_info *
make_server_x11_info(UINT32 protocol_length, const UINT8 *protocol,
UINT32 cookie_length, const UINT8 *cookie,
struct lsh_user *user);
/* Start listening on an AF_UNIX socket, and run xauth */
void
server_x11_listen(struct server_x11_info *info,
struct ssh_connection *connection,
struct command_continuation *c,
struct exception_handler *e);
#endif /* LSH_SERVER_X11_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