clientloop.h revision 92555
1329462Skib/* $OpenBSD: clientloop.h,v 1.6 2001/06/26 17:27:23 markus Exp $ */ 21817Sdg 31817Sdg/* 41817Sdg * Author: Tatu Ylonen <ylo@cs.hut.fi> 51817Sdg * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6329462Skib * All rights reserved 7329462Skib * 8329462Skib * As far as I am concerned, the code I have written for this software 9329462Skib * can be used freely for any purpose. Any derived versions of this 10329462Skib * software must be clearly marked as such, and if the derived work is 11329462Skib * incompatible with the protocol description in the RFC file, it must be 12329462Skib * called by a name other than "ssh" or "Secure Shell". 131817Sdg */ 141817Sdg/* 151817Sdg * Copyright (c) 2001 Markus Friedl. All rights reserved. 161817Sdg * 171817Sdg * Redistribution and use in source and binary forms, with or without 181817Sdg * modification, are permitted provided that the following conditions 191817Sdg * are met: 201817Sdg * 1. Redistributions of source code must retain the above copyright 211817Sdg * notice, this list of conditions and the following disclaimer. 221817Sdg * 2. Redistributions in binary form must reproduce the above copyright 231817Sdg * notice, this list of conditions and the following disclaimer in the 241817Sdg * documentation and/or other materials provided with the distribution. 251817Sdg * 261817Sdg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 271817Sdg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 281817Sdg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 291817Sdg * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 301817Sdg * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 311817Sdg * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 321817Sdg * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 331817Sdg * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 341817Sdg * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 351817Sdg * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 361817Sdg */ 3750477Speter 381817Sdg/* Client side main loop for the interactive session. */ 391817Sdgint client_loop(int, int, int); 402579Sbde